home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-2.iso / Files II / Prog / N-P / Open Prolog 1.02.sit / Open Prolog 1.02 / Documents / Open Prolog Info < prev    next >
MacBinary  |  1994-03-22  |  25.0 KB  |  [TEXT/PRLG]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Open Prolog Info

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Mar 22 18:09:11 1994, modified Tue Mar 22 18:09:11 1994, creator 'PRLG', type ASCII, 25060 bytes "Open Prolog Info" , at 0x6264 354 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[PRLG]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 4f 70 65 6e 20 50 | 72 6f 6c 6f 67 20 49 6e |..Open P|rolog In|
|00000010| 66 6f 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |fo......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 50 52 4c | 47 01 00 00 00 00 00 00 |.TEXTPRL|G.......|
|00000050| 00 00 00 00 00 61 e4 00 | 00 01 62 a9 b5 2b 17 a9 |.....a..|..b..+..|
|00000060| b5 2b 17 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.+......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 9a a1 00 00 |........|........|
|00000080| d7 20 57 65 6c 63 6f 6d | 65 20 74 6f 20 27 4f 70 |. Welcom|e to 'Op|
|00000090| 65 6e 20 50 72 6f 6c 6f | 67 27 2e 0d 0d 54 68 65 |en Prolo|g'...The|
|000000a0| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 4f 70 65 6e | version| of Open|
|000000b0| 20 50 72 6f 6c 6f 67 20 | 74 6f 20 77 68 69 63 68 | Prolog |to which|
|000000c0| 20 74 68 69 73 20 64 6f | 63 75 6d 65 6e 74 20 72 | this do|cument r|
|000000d0| 65 66 65 72 73 20 69 73 | 20 67 69 76 65 6e 20 69 |efers is| given i|
|000000e0| 6e 20 74 68 65 20 47 65 | 74 20 49 6e 66 6f c9 20 |n the Ge|t Info. |
|000000f0| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 66 6f 72 20 |informat|ion for |
|00000100| 74 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 2e 0d 0d |this doc|ument...|
|00000110| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 20 69 73 20 61 |Open Pro|log is a|
|00000120| 6e 20 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |n implem|entation|
|00000130| 20 6f 66 20 45 64 69 6e | 62 75 72 67 68 2d 73 79 | of Edin|burgh-sy|
|00000140| 6e 74 61 78 20 50 72 6f | 6c 6f 67 2e 0d 54 68 65 |ntax Pro|log..The|
|00000150| 20 45 64 69 6e 62 75 72 | 67 68 20 73 79 6e 74 61 | Edinbur|gh synta|
|00000160| 78 20 69 73 20 74 68 65 | 20 64 65 2d 66 61 63 74 |x is the| de-fact|
|00000170| 6f 20 73 74 61 6e 64 61 | 72 64 20 50 72 6f 6c 6f |o standa|rd Prolo|
|00000180| 67 20 73 79 6e 74 61 78 | 2c 20 61 6e 64 20 69 73 |g syntax|, and is|
|00000190| 20 74 68 65 20 62 61 73 | 69 73 20 66 6f 72 20 74 | the bas|is for t|
|000001a0| 68 65 20 66 6f 72 74 68 | 63 6f 6d 69 6e 67 20 49 |he forth|coming I|
|000001b0| 53 4f 20 50 72 6f 6c 6f | 67 2e 0d 0d 49 66 20 79 |SO Prolo|g...If y|
|000001c0| 6f 75 20 61 72 65 20 61 | 6e 20 61 62 73 6f 6c 75 |ou are a|n absolu|
|000001d0| 74 65 20 62 65 67 69 6e | 6e 65 72 20 69 6e 20 4f |te begin|ner in O|
|000001e0| 70 65 6e 20 50 72 6f 6c | 6f 67 2c 20 69 74 27 73 |pen Prol|og, it's|
|000001f0| 20 70 72 6f 62 61 62 6c | 79 20 62 65 74 74 65 72 | probabl|y better|
|00000200| 20 66 6f 72 20 79 6f 75 | 20 74 6f 20 67 6f 20 74 | for you| to go t|
|00000210| 68 72 6f 75 67 68 20 74 | 68 65 20 74 75 74 6f 72 |hrough t|he tutor|
|00000220| 69 61 6c 20 73 65 73 73 | 69 6f 6e 20 69 6e 20 27 |ial sess|ion in '|
|00000230| 47 65 74 74 69 6e 67 20 | 53 74 61 72 74 65 64 27 |Getting |Started'|
|00000240| 20 69 6e 20 74 68 65 20 | 27 42 65 67 69 6e 6e 65 | in the |'Beginne|
|00000250| 72 73 20 2d 20 6c 6f 6f | 6b 20 69 6e 20 68 65 72 |rs - loo|k in her|
|00000260| 65 27 20 66 6f 6c 64 65 | 72 2e 20 54 68 65 6e 2c |e' folde|r. Then,|
|00000270| 20 62 79 20 61 6c 6c 20 | 6d 65 61 6e 73 2c 20 72 | by all |means, r|
|00000280| 65 61 64 20 74 68 69 73 | 20 64 6f 63 75 6d 65 6e |ead this| documen|
|00000290| 74 20 63 61 72 65 66 75 | 6c 6c 79 2c 20 65 73 70 |t carefu|lly, esp|
|000002a0| 65 63 69 61 6c 6c 79 20 | 74 68 65 20 73 65 63 74 |ecially |the sect|
|000002b0| 69 6f 6e 20 6f 6e 20 77 | 6f 72 6b 61 72 6f 75 6e |ion on w|orkaroun|
|000002c0| 64 73 20 61 74 20 74 68 | 65 20 65 6e 64 2e 0d 0d |ds at th|e end...|
|000002d0| 54 68 69 73 20 73 6f 66 | 74 77 61 72 65 20 69 73 |This sof|tware is|
|000002e0| 20 63 6f 6e 74 69 6e 75 | 61 6c 6c 79 20 75 6e 64 | continu|ally und|
|000002f0| 65 72 20 64 65 76 65 6c | 6f 70 6d 65 6e 74 2c 20 |er devel|opment, |
|00000300| 73 6f 20 69 74 20 68 61 | 73 20 62 75 67 73 2e 0d |so it ha|s bugs..|
|00000310| 53 61 76 65 20 79 6f 75 | 72 20 77 6f 72 6b 20 6f |Save you|r work o|
|00000320| 66 74 65 6e 2e 0d 0d 43 | 68 61 6e 67 65 73 20 66 |ften...C|hanges f|
|00000330| 72 6f 6d 20 70 72 65 76 | 69 6f 75 73 20 76 65 72 |rom prev|ious ver|
|00000340| 73 69 6f 6e 73 20 61 72 | 65 20 6c 69 73 74 65 64 |sions ar|e listed|
|00000350| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 20 27 52 65 | in the |file 'Re|
|00000360| 76 69 73 69 6f 6e 20 48 | 69 73 74 6f 72 79 27 2e |vision H|istory'.|
|00000370| 0d 0d 0d d7 20 49 6e 74 | 72 6f 64 75 63 74 69 6f |.... Int|roductio|
|00000380| 6e 0d 0d 4f 70 65 6e 20 | 50 72 6f 6c 6f 67 20 69 |n..Open |Prolog i|
|00000390| 73 20 61 6e 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |s an imp|lementat|
|000003a0| 69 6f 6e 20 6f 66 20 45 | 64 69 6e 62 75 72 67 68 |ion of E|dinburgh|
|000003b0| 2d 73 79 6e 74 61 78 20 | 50 72 6f 6c 6f 67 2e 0d |-syntax |Prolog..|
|000003c0| 0d 46 6f 72 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |.For inf|ormation|
|000003d0| 20 6f 6e 20 50 72 6f 6c | 6f 67 20 69 74 73 65 6c | on Prol|og itsel|
|000003e0| 66 2c 20 72 65 66 65 72 | 20 74 6f 20 6f 6e 65 20 |f, refer| to one |
|000003f0| 6f 66 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |of the s|tandard |
|00000400| 74 65 78 74 62 6f 6f 6b | 73 2c 0d 66 6f 72 20 69 |textbook|s,.for i|
|00000410| 6e 73 74 61 6e 63 65 20 | 27 50 72 6f 67 72 61 6d |nstance |'Program|
|00000420| 6d 69 6e 67 20 69 6e 20 | 50 72 6f 6c 6f 67 27 20 |ming in |Prolog' |
|00000430| 62 79 20 43 6c 6f 63 6b | 73 69 6e 20 26 20 4d 65 |by Clock|sin & Me|
|00000440| 6c 6c 69 73 68 2c 0d 27 | 49 6e 74 72 6f 64 75 63 |llish,.'|Introduc|
|00000450| 74 69 6f 6e 20 74 6f 20 | 4c 6f 67 69 63 20 50 72 |tion to |Logic Pr|
|00000460| 6f 67 72 61 6d 6d 69 6e | 67 27 20 62 79 20 43 68 |ogrammin|g' by Ch|
|00000470| 72 69 73 74 6f 70 68 65 | 72 20 48 6f 67 67 65 72 |ristophe|r Hogger|
|00000480| 2c 20 6f 72 20 74 68 65 | 0d 65 78 63 65 6c 6c 65 |, or the|.excelle|
|00000490| 6e 74 20 27 41 72 74 69 | 66 69 63 69 61 6c 20 49 |nt 'Arti|ficial I|
|000004a0| 6e 74 65 6c 6c 69 67 65 | 6e 63 65 20 74 68 72 6f |ntellige|nce thro|
|000004b0| 75 67 68 20 50 72 6f 6c | 6f 67 27 20 62 79 20 4e |ugh Prol|og' by N|
|000004c0| 65 69 6c 20 43 2e 20 52 | 6f 77 65 2e 0d 0d 4f 70 |eil C. R|owe...Op|
|000004d0| 65 6e 20 50 72 6f 6c 6f | 67 20 73 75 70 70 6f 72 |en Prolo|g suppor|
|000004e0| 74 73 20 6d 6f 73 74 20 | 6f 66 20 74 68 65 20 66 |ts most |of the f|
|000004f0| 65 61 74 75 72 65 73 20 | 6f 66 20 44 45 43 20 50 |eatures |of DEC P|
|00000500| 72 6f 6c 6f 67 20 6f 72 | 20 43 2d 50 72 6f 6c 6f |rolog or| C-Prolo|
|00000510| 67 2c 0d 69 6e 63 6c 75 | 64 69 6e 67 20 44 65 66 |g,.inclu|ding Def|
|00000520| 69 6e 69 74 65 20 43 6c | 61 75 73 65 20 47 72 61 |inite Cl|ause Gra|
|00000530| 6d 6d 61 72 73 2e 0d 54 | 68 65 20 27 6c 6f 67 69 |mmars..T|he 'logi|
|00000540| 63 61 6c 27 20 61 73 73 | 65 72 74 20 61 6e 64 20 |cal' ass|ert and |
|00000550| 72 65 74 72 61 63 74 20 | 73 65 6d 61 6e 74 69 63 |retract |semantic|
|00000560| 73 20 6f 66 20 4c 69 6e | 64 68 6f 6c 6d 20 26 20 |s of Lin|dholm & |
|00000570| 4f 27 4b 65 65 66 65 20 | 61 72 65 0d 69 6d 70 6c |O'Keefe |are.impl|
|00000580| 65 6d 65 6e 74 65 64 2e | 0d 4f 70 65 6e 20 50 72 |emented.|.Open Pr|
|00000590| 6f 6c 6f 67 20 73 75 70 | 70 6f 72 74 73 20 64 69 |olog sup|ports di|
|000005a0| 73 6a 75 6e 63 74 69 76 | 65 20 63 61 6c 6c 73 2c |sjunctiv|e calls,|
|000005b0| 20 6e 65 67 61 74 69 6f | 6e 2c 20 69 66 2d 74 68 | negatio|n, if-th|
|000005c0| 65 6e 20 61 6e 64 20 69 | 66 2d 74 68 65 6e 2d 65 |en and i|f-then-e|
|000005d0| 6c 73 65 20 61 63 63 6f | 72 64 69 6e 67 20 28 77 |lse acco|rding (w|
|000005e0| 65 20 62 65 6c 69 65 76 | 65 29 20 74 6f 20 74 68 |e believ|e) to th|
|000005f0| 65 20 64 72 61 66 74 20 | 49 53 4f 20 50 72 6f 6c |e draft |ISO Prol|
|00000600| 6f 67 20 73 74 61 6e 64 | 61 72 64 73 2e 20 49 6e |og stand|ards. In|
|00000610| 20 70 61 72 74 69 63 75 | 6c 61 72 2c 20 74 68 65 | particu|lar, the|
|00000620| 20 68 61 6e 64 6c 69 6e | 67 20 6f 66 20 63 75 74 | handlin|g of cut|
|00000630| 73 20 63 6f 6d 70 6c 69 | 65 73 20 77 69 74 68 20 |s compli|es with |
|00000640| 74 68 61 74 20 73 70 65 | 63 69 66 69 65 64 20 69 |that spe|cified i|
|00000650| 6e 20 74 68 65 20 44 72 | 61 66 74 2e 0d 49 74 20 |n the Dr|aft..It |
|00000660| 61 6c 73 6f 20 73 75 70 | 70 6f 72 74 73 20 70 72 |also sup|ports pr|
|00000670| 6f 67 72 61 6d 2d 6f 72 | 69 67 69 6e 61 74 65 64 |ogram-or|iginated|
|00000680| 20 63 61 74 63 68 2d 61 | 6e 64 2d 74 68 72 6f 77 | catch-a|nd-throw|
|00000690| 20 65 78 63 65 70 74 69 | 6f 6e 20 68 61 6e 64 6c | excepti|on handl|
|000006a0| 69 6e 67 20 63 6f 6e 66 | 6f 72 6d 69 6e 67 20 74 |ing conf|orming t|
|000006b0| 6f 20 74 68 65 20 49 53 | 4f 20 44 72 61 66 74 2e |o the IS|O Draft.|
|000006c0| 20 0d 0d 52 65 61 6c 2d | 6e 75 6d 62 65 72 20 61 | ..Real-|number a|
|000006d0| 72 69 74 68 6d 65 74 69 | 63 20 61 6e 64 20 69 6e |rithmeti|c and in|
|000006e0| 74 65 72 6e 61 6c 20 64 | 61 74 61 62 61 73 65 20 |ternal d|atabase |
|000006f0| 70 72 65 64 69 63 61 74 | 65 73 20 61 72 65 20 6e |predicat|es are n|
|00000700| 6f 74 20 73 75 70 70 6f | 72 74 65 64 2e 0d 0d 4c |ot suppo|rted...L|
|00000710| 61 73 74 20 43 61 6c 6c | 20 4f 70 74 69 6d 69 73 |ast Call| Optimis|
|00000720| 61 74 69 6f 6e 20 28 6f | 66 74 65 6e 20 63 61 6c |ation (o|ften cal|
|00000730| 6c 65 64 20 54 61 69 6c | 20 52 65 63 75 72 73 69 |led Tail| Recursi|
|00000740| 6f 6e 20 4f 70 74 69 6d | 69 73 61 74 69 6f 6e 29 |on Optim|isation)|
|00000750| 20 69 73 20 64 6f 6e 65 | 2c 0d 61 6e 64 20 69 6e | is done|,.and in|
|00000760| 64 65 78 69 6e 67 20 6f | 6e 20 74 68 65 20 66 69 |dexing o|n the fi|
|00000770| 72 73 74 20 61 72 67 75 | 6d 65 6e 74 20 6f 66 20 |rst argu|ment of |
|00000780| 63 6c 61 75 73 65 20 68 | 65 61 64 73 20 69 73 20 |clause h|eads is |
|00000790| 70 65 72 66 6f 72 6d 65 | 64 2c 0d 6d 61 69 6e 6c |performe|d,.mainl|
|000007a0| 79 20 74 6f 20 64 65 74 | 65 63 74 20 64 65 74 65 |y to det|ect dete|
|000007b0| 72 6d 69 6e 61 63 79 20 | 73 6f 20 61 73 20 74 6f |rminacy |so as to|
|000007c0| 20 69 6d 70 72 6f 76 65 | 20 6d 65 6d 6f 72 79 20 | improve| memory |
|000007d0| 75 74 69 6c 69 73 61 74 | 69 6f 6e 2e 0d 0d 4f 70 |utilisat|ion...Op|
|000007e0| 65 6e 20 50 72 6f 6c 6f | 67 20 69 73 20 63 61 6c |en Prolo|g is cal|
|000007f0| 6c 65 64 20 27 4f 70 65 | 6e 27 20 62 65 63 61 75 |led 'Ope|n' becau|
|00000800| 73 65 20 27 65 78 74 65 | 72 6e 61 6c 27 20 70 72 |se 'exte|rnal' pr|
|00000810| 65 64 69 63 61 74 65 73 | 20 63 61 6e 20 62 65 20 |edicates| can be |
|00000820| 64 72 6f 70 70 65 64 20 | 69 6e 74 6f 0d 69 74 20 |dropped |into.it |
|00000830| 76 69 61 20 61 20 48 79 | 70 65 72 63 61 72 64 2d |via a Hy|percard-|
|00000840| 6c 69 6b 65 20 45 78 74 | 65 72 6e 61 6c 20 50 72 |like Ext|ernal Pr|
|00000850| 65 64 69 63 61 74 65 20 | 49 6e 74 65 72 66 61 63 |edicate |Interfac|
|00000860| 65 2e 0d 0d 4f 70 65 6e | 20 50 72 6f 6c 6f 67 20 |e...Open| Prolog |
|00000870| 69 73 20 6e 6f 74 20 63 | 6f 70 79 20 70 72 6f 74 |is not c|opy prot|
|00000880| 65 63 74 65 64 2e 20 0d | 0d 0d d7 20 53 79 73 74 |ected. .|... Syst|
|00000890| 65 6d 20 26 20 4d 65 6d | 6f 72 79 20 52 65 71 75 |em & Mem|ory Requ|
|000008a0| 69 72 65 6d 65 6e 74 73 | 0d 0d 4f 70 65 6e 20 50 |irements|..Open P|
|000008b0| 72 6f 6c 6f 67 20 72 75 | 6e 73 20 69 6e 20 6d 61 |rolog ru|ns in ma|
|000008c0| 63 68 69 6e 65 73 20 68 | 61 76 69 6e 67 20 53 79 |chines h|aving Sy|
|000008d0| 73 74 65 6d 20 36 20 6f | 72 20 6c 61 74 65 72 20 |stem 6 o|r later |
|000008e0| 73 79 73 74 65 6d 20 73 | 6f 66 74 77 61 72 65 2e |system s|oftware.|
|000008f0| 0d 49 74 20 69 73 20 53 | 79 73 74 65 6d 20 37 20 |.It is S|ystem 7 |
|00000900| 63 6f 6d 70 61 74 69 62 | 6c 65 2c 20 61 6e 64 20 |compatib|le, and |
|00000910| 73 75 70 70 6f 72 74 73 | 20 27 72 65 71 75 69 72 |supports| 'requir|
|00000920| 65 64 27 20 41 70 70 6c | 65 45 76 65 6e 74 73 2e |ed' Appl|eEvents.|
|00000930| 0d 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 69 73 20 |.Open Pr|olog is |
|00000940| 33 32 2d 62 69 74 20 63 | 6c 65 61 6e 2e 0d 0d 4f |32-bit c|lean...O|
|00000950| 70 65 6e 20 50 72 6f 6c | 6f 67 20 77 69 6c 6c 20 |pen Prol|og will |
|00000960| 72 75 6e 20 69 6e 20 61 | 20 6d 65 6d 6f 72 79 20 |run in a| memory |
|00000970| 61 6c 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 0d 37 30 |allocati|on of.70|
|00000980| 30 4b 20 62 79 74 65 73 | 20 6f 72 20 61 20 62 69 |0K bytes| or a bi|
|00000990| 74 20 6c 65 73 73 2e 20 | 31 30 32 34 4b 20 62 79 |t less. |1024K by|
|000009a0| 74 65 73 20 69 73 20 72 | 65 63 6f 6d 6d 65 6e 64 |tes is r|ecommend|
|000009b0| 65 64 2e 0d 0d 4d 6f 73 | 74 20 6f 66 20 74 68 65 |ed...Mos|t of the|
|000009c0| 20 70 72 6f 67 72 61 6d | 73 20 79 6f 75 20 6d 69 | program|s you mi|
|000009d0| 67 68 74 20 75 73 65 20 | 6f 72 20 77 72 69 74 65 |ght use |or write|
|000009e0| 20 77 68 69 6c 65 20 79 | 6f 75 20 61 72 65 20 6c | while y|ou are l|
|000009f0| 65 61 72 6e 69 6e 67 20 | 50 72 6f 6c 6f 67 20 77 |earning |Prolog w|
|00000a00| 6f 6e 27 74 20 72 65 71 | 75 69 72 65 20 6d 6f 72 |on't req|uire mor|
|00000a10| 65 20 74 68 61 6e 20 31 | 30 32 34 4b 20 28 31 4d |e than 1|024K (1M|
|00000a20| 29 2e 20 49 66 20 74 68 | 65 79 20 72 75 6e 20 6f |). If th|ey run o|
|00000a30| 75 74 20 6f 66 20 6d 65 | 6d 6f 72 79 2c 20 69 74 |ut of me|mory, it|
|00000a40| 27 73 20 75 73 75 61 6c | 6c 79 20 64 75 65 20 74 |'s usual|ly due t|
|00000a50| 6f 20 61 20 70 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |o a prog|ramming |
|00000a60| 65 72 72 6f 72 2e 20 53 | 6f 6d 65 20 6c 61 72 67 |error. S|ome larg|
|00000a70| 65 20 70 72 6f 67 72 61 | 6d 73 20 64 6f 2c 20 68 |e progra|ms do, h|
|00000a80| 6f 77 65 76 65 72 2c 20 | 72 65 71 75 69 72 65 20 |owever, |require |
|00000a90| 6c 6f 74 73 20 6f 66 20 | 6d 65 6d 6f 72 79 2e 0d |lots of |memory..|
|00000aa0| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 20 68 61 73 20 |Open Pro|log has |
|00000ab0| 72 75 6e 20 77 65 6c 6c | 20 69 6e 20 61 20 31 36 |run well| in a 16|
|00000ac0| 20 4d 42 20 70 61 72 74 | 69 74 69 6f 6e 20 28 6f | MB part|ition (o|
|00000ad0| 6e 20 61 20 51 75 61 64 | 72 61 20 77 69 74 68 20 |n a Quad|ra with |
|00000ae0| 32 30 4d 42 20 52 41 4d | 2c 20 72 75 6e 6e 69 6e |20MB RAM|, runnin|
|00000af0| 67 20 69 6e 20 33 32 2d | 62 69 74 20 6d 6f 64 65 |g in 32-|bit mode|
|00000b00| 29 2e 20 46 6f 72 20 79 | 6f 75 72 20 69 6e 66 6f |). For y|our info|
|00000b10| 72 6d 61 74 69 6f 6e 2c | 20 69 74 20 61 6c 73 6f |rmation,| it also|
|00000b20| 20 72 75 6e 73 2c 20 73 | 6c 6f 77 6c 79 2c 20 69 | runs, s|lowly, i|
|00000b30| 6e 20 61 20 34 38 4d 42 | 20 70 61 72 74 69 74 69 |n a 48MB| partiti|
|00000b40| 6f 6e 20 69 6e 20 74 68 | 65 20 73 61 6d 65 20 6d |on in th|e same m|
|00000b50| 61 63 68 69 6e 65 20 77 | 69 74 68 20 38 30 4d 42 |achine w|ith 80MB|
|00000b60| 20 76 69 72 74 75 61 6c | 20 6d 65 6d 6f 72 79 2e | virtual| memory.|
|00000b70| 0d 0d 41 74 20 74 68 65 | 20 6f 74 68 65 72 20 65 |..At the| other e|
|00000b80| 6e 64 20 6f 66 20 74 68 | 65 20 6d 65 6d 6f 72 79 |nd of th|e memory|
|00000b90| 20 73 63 61 6c 65 2c 20 | 4f 70 65 6e 20 50 72 6f | scale, |Open Pro|
|00000ba0| 6c 6f 67 20 77 69 6c 6c | 20 72 75 6e 20 63 6f 6d |log will| run com|
|00000bb0| 66 6f 72 74 61 62 6c 79 | 20 75 6e 64 65 72 20 53 |fortably| under S|
|00000bc0| 79 73 74 65 6d 20 36 20 | 6f 6e 20 61 20 31 4d 42 |ystem 6 |on a 1MB|
|00000bd0| 20 6d 61 63 68 69 6e 65 | 20 77 69 74 68 20 4d 75 | machine| with Mu|
|00000be0| 6c 74 69 66 69 6e 64 65 | 72 20 6f 66 66 2e 20 49 |ltifinde|r off. I|
|00000bf0| 66 20 79 6f 75 20 63 61 | 6e 27 74 20 73 74 61 72 |f you ca|n't star|
|00000c00| 74 20 75 70 20 69 6e 20 | 61 20 31 4d 42 20 6d 61 |t up in |a 1MB ma|
|00000c10| 63 68 69 6e 65 20 77 69 | 74 68 20 4d 75 6c 74 69 |chine wi|th Multi|
|00000c20| 66 69 6e 64 65 72 20 6f | 66 66 2c 20 63 68 65 63 |finder o|ff, chec|
|00000c30| 6b 20 74 68 61 74 20 79 | 6f 75 20 68 61 76 65 6e |k that y|ou haven|
|00000c40| 27 74 20 67 6f 74 20 74 | 6f 6f 20 62 69 67 20 61 |'t got t|oo big a|
|00000c50| 20 63 61 63 68 65 20 73 | 65 74 20 28 36 34 4b 20 | cache s|et (64K |
|00000c60| 73 68 6f 75 6c 64 20 62 | 65 20 61 64 65 71 75 61 |should b|e adequa|
|00000c70| 74 65 29 2c 20 61 6e 64 | 2f 6f 72 20 74 6f 6f 20 |te), and|/or too |
|00000c80| 6d 61 6e 79 20 53 74 61 | 72 74 75 70 20 28 49 4e |many Sta|rtup (IN|
|00000c90| 49 54 29 20 44 6f 63 75 | 6d 65 6e 74 73 2c 20 45 |IT) Docu|ments, E|
|00000ca0| 78 74 65 6e 73 69 6f 6e | 73 20 6f 72 20 43 6f 6e |xtension|s or Con|
|00000cb0| 74 72 6f 6c 20 50 61 6e | 65 6c 73 2e 0d 0d 41 6c |trol Pan|els...Al|
|00000cc0| 6c 20 6d 65 6d 6f 72 79 | 20 6d 61 6e 61 67 65 6d |l memory| managem|
|00000cd0| 65 6e 74 20 61 6e 64 20 | 67 61 72 62 61 67 65 20 |ent and |garbage |
|00000ce0| 63 6f 6c 6c 65 63 74 69 | 6f 6e 20 69 73 20 61 75 |collecti|on is au|
|00000cf0| 74 6f 6d 61 74 69 63 2e | 0d 4e 6f 20 64 69 76 69 |tomatic.|.No divi|
|00000d00| 6e 61 74 69 6f 6e 20 6f | 66 20 73 74 61 63 6b 20 |nation o|f stack |
|00000d10| 73 69 7a 65 20 6f 72 20 | 6f 74 68 65 72 20 6e 6f |size or |other no|
|00000d20| 6e 73 65 6e 73 65 20 69 | 73 20 6e 65 63 65 73 73 |nsense i|s necess|
|00000d30| 61 72 79 20 28 6f 72 20 | 70 6f 73 73 69 62 6c 65 |ary (or |possible|
|00000d40| 29 20 2d 20 69 74 27 73 | 20 64 6f 6e 65 20 61 75 |) - it's| done au|
|00000d50| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 2e 0d 54 68 65 |tomatica|lly..The|
|00000d60| 20 6e 61 6d 65 20 74 61 | 62 6c 65 20 69 73 20 6e | name ta|ble is n|
|00000d70| 6f 74 20 67 61 72 62 61 | 67 65 2d 63 6f 6c 6c 65 |ot garba|ge-colle|
|00000d80| 63 74 65 64 2c 20 73 6f | 20 69 74 27 73 20 70 6f |cted, so| it's po|
|00000d90| 73 73 69 62 6c 65 20 74 | 6f 20 6f 76 65 72 66 6c |ssible t|o overfl|
|00000da0| 6f 77 20 69 74 2e 0d 0d | 4f 70 65 6e 20 50 72 6f |ow it...|Open Pro|
|00000db0| 6c 6f 67 20 69 73 20 63 | 61 70 61 62 6c 65 20 6f |log is c|apable o|
|00000dc0| 66 20 72 75 6e 6e 69 6e | 67 20 69 6e 20 74 68 65 |f runnin|g in the|
|00000dd0| 20 4d 75 6c 74 69 66 69 | 6e 64 65 72 2f 53 79 73 | Multifi|nder/Sys|
|00000de0| 74 65 6d 20 37 20 62 61 | 63 6b 67 72 6f 75 6e 64 |tem 7 ba|ckground|
|00000df0| 0d 6f 6e 20 6c 6f 6e 67 | 20 63 6f 6d 70 75 74 61 |.on long| computa|
|00000e00| 74 69 6f 6e 73 2e 0d 0d | 46 6f 72 20 79 6f 75 72 |tions...|For your|
|00000e10| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 2c 20 74 68 | informa|tion, th|
|00000e20| 65 20 64 65 76 65 6c 6f | 70 6d 65 6e 74 20 65 6e |e develo|pment en|
|00000e30| 76 69 72 6f 6e 6d 65 6e | 74 20 69 73 20 61 20 4d |vironmen|t is a M|
|00000e40| 61 63 20 49 49 78 20 77 | 69 74 68 20 38 4d 42 20 |ac IIx w|ith 8MB |
|00000e50| 52 61 6d 2e 0d 54 65 73 | 74 69 6e 67 20 69 73 20 |Ram..Tes|ting is |
|00000e60| 61 6c 73 6f 20 64 6f 6e | 65 20 6f 6e 20 61 20 4d |also don|e on a M|
|00000e70| 61 63 20 50 6c 75 73 20 | 77 69 74 68 20 34 4d 42 |ac Plus |with 4MB|
|00000e80| 20 52 61 6d 2c 20 61 20 | 51 75 61 64 72 61 20 37 | Ram, a |Quadra 7|
|00000e90| 30 30 20 77 69 74 68 20 | 32 30 4d 42 20 52 61 6d |00 with |20MB Ram|
|00000ea0| 2c 20 61 6e 64 20 61 20 | 50 6f 77 65 72 42 6f 6f |, and a |PowerBoo|
|00000eb0| 6b 20 31 34 30 20 77 69 | 74 68 20 38 4d 42 20 52 |k 140 wi|th 8MB R|
|00000ec0| 61 6d 2e 20 53 79 73 74 | 65 6d 73 20 61 72 65 20 |am. Syst|ems are |
|00000ed0| 36 2e 30 2e 38 20 26 20 | 37 2e 31 2e 0d 0d 0d d7 |6.0.8 & |7.1.....|
|00000ee0| 20 53 70 65 65 64 0d 0d | 4f 70 65 6e 20 50 72 6f | Speed..|Open Pro|
|00000ef0| 6c 6f 67 20 72 75 6e 73 | 20 74 68 65 20 6e 61 69 |log runs| the nai|
|00000f00| 76 65 20 72 65 76 65 72 | 73 65 20 62 65 6e 63 68 |ve rever|se bench|
|00000f10| 6d 61 72 6b 20 61 74 20 | 61 62 6f 75 74 20 31 39 |mark at |about 19|
|00000f20| 30 30 20 4c 69 70 73 0d | 6f 6e 20 61 20 4d 61 63 |00 Lips.|on a Mac|
|00000f30| 69 6e 74 6f 73 68 20 50 | 6c 75 73 2e 20 4f 6e 20 |intosh P|lus. On |
|00000f40| 61 20 51 75 61 64 72 61 | 20 39 35 30 2c 20 69 74 |a Quadra| 950, it|
|00000f50| 20 72 75 6e 73 20 61 74 | 20 6a 75 73 74 20 75 6e | runs at| just un|
|00000f60| 64 65 72 20 35 30 20 4b | 4c 69 70 73 2e 0d 49 74 |der 50 K|Lips..It|
|00000f70| 20 68 61 73 20 6e 6f 74 | 20 62 65 65 6e 20 27 74 | has not| been 't|
|00000f80| 77 65 61 6b 65 64 27 20 | 74 6f 20 70 65 72 66 6f |weaked' |to perfo|
|00000f90| 72 6d 20 70 61 72 74 69 | 63 75 6c 61 72 6c 79 20 |rm parti|cularly |
|00000fa0| 77 65 6c 6c 20 6f 6e 20 | 62 65 6e 63 68 6d 61 72 |well on |benchmar|
|00000fb0| 6b 73 2e 0d 0d d7 20 41 | 62 6f 75 74 20 4f 70 65 |ks.... A|bout Ope|
|00000fc0| 6e 20 50 72 6f 6c 6f 67 | c9 0d 0d 54 68 65 20 27 |n Prolog|...The '|
|00000fd0| 41 62 6f 75 74 20 4f 70 | 65 6e 20 50 72 6f 6c 6f |About Op|en Prolo|
|00000fe0| 67 c9 27 20 62 6f 78 20 | 63 6f 6e 74 61 69 6e 73 |g.' box |contains|
|00000ff0| 20 61 20 73 74 61 63 6b | 73 20 69 6e 64 69 63 61 | a stack|s indica|
|00001000| 74 6f 72 20 77 68 69 63 | 68 0d 73 68 6f 77 73 20 |tor whic|h.shows |
|00001010| 6d 65 6d 6f 72 79 20 73 | 70 61 63 65 20 62 72 6f |memory s|pace bro|
|00001020| 6b 65 6e 20 69 6e 74 6f | 0d 4e 61 6d 65 20 28 61 |ken into|.Name (a|
|00001030| 74 6f 6d 20 26 20 66 75 | 6e 63 74 6f 72 29 2c 20 |tom & fu|nctor), |
|00001040| 43 6f 64 65 2c 20 47 6c | 6f 62 61 6c 2c 20 4c 6f |Code, Gl|obal, Lo|
|00001050| 63 61 6c 20 26 20 54 72 | 61 69 6c 20 73 70 61 63 |cal & Tr|ail spac|
|00001060| 65 73 2e 0d 0d 49 74 27 | 73 20 70 6f 73 73 69 62 |es...It'|s possib|
|00001070| 6c 65 20 74 6f 20 77 61 | 74 63 68 20 74 68 65 20 |le to wa|tch the |
|00001080| 73 74 61 63 6b 73 20 67 | 72 6f 77 20 61 6e 64 20 |stacks g|row and |
|00001090| 63 6f 6e 74 72 61 63 74 | 20 61 73 20 74 68 65 20 |contract| as the |
|000010a0| 70 72 6f 67 72 61 6d 20 | 72 75 6e 73 2c 0d 62 75 |program |runs,.bu|
|000010b0| 74 20 6b 65 65 70 69 6e | 67 20 74 68 65 20 73 74 |t keepin|g the st|
|000010c0| 61 63 6b 73 20 69 6e 64 | 69 63 61 74 6f 72 20 75 |acks ind|icator u|
|000010d0| 70 2d 74 6f 2d 64 61 74 | 65 20 73 6c 6f 77 73 20 |p-to-dat|e slows |
|000010e0| 65 78 65 63 75 74 69 6f | 6e 20 71 75 69 74 65 20 |executio|n quite |
|000010f0| 61 20 62 69 74 21 0d 54 | 6f 20 61 76 6f 69 64 20 |a bit!.T|o avoid |
|00001100| 74 68 65 20 73 70 65 65 | 64 20 70 65 6e 61 6c 74 |the spee|d penalt|
|00001110| 79 2c 20 69 74 27 73 20 | 70 6f 73 73 69 62 6c 65 |y, it's |possible|
|00001120| 20 74 6f 20 6f 70 65 6e | 20 61 6e 64 20 63 6c 6f | to open| and clo|
|00001130| 73 65 20 74 68 65 20 62 | 6f 78 20 77 68 69 6c 65 |se the b|ox while|
|00001140| 0d 74 68 65 20 69 6e 74 | 65 72 70 72 65 74 65 72 |.the int|erpreter|
|00001150| 20 69 73 20 72 75 6e 6e | 69 6e 67 2e 0d 41 6c 74 | is runn|ing..Alt|
|00001160| 65 72 6e 61 74 69 76 65 | 6c 79 2c 20 68 69 64 69 |ernative|ly, hidi|
|00001170| 6e 67 20 74 68 65 20 73 | 74 61 63 6b 73 20 69 6e |ng the s|tacks in|
|00001180| 64 69 63 61 74 6f 72 20 | 66 75 6c 6c 79 20 69 73 |dicator |fully is|
|00001190| 20 6a 75 73 74 20 61 73 | 20 65 66 66 65 63 74 69 | just as| effecti|
|000011a0| 76 65 2e 0d 0d 4f 6e 20 | 74 68 65 20 27 41 62 6f |ve...On |the 'Abo|
|000011b0| 75 74 20 4f 70 65 6e 20 | 50 72 6f 6c 6f 67 c9 27 |ut Open |Prolog.'|
|000011c0| 20 62 6f 78 2c 20 79 6f | 75 20 63 61 6e 20 73 65 | box, yo|u can se|
|000011d0| 65 20 68 6f 77 20 6d 75 | 63 68 20 52 41 4d 20 68 |e how mu|ch RAM h|
|000011e0| 61 73 20 62 65 65 6e 0d | 61 6c 6c 6f 63 61 74 65 |as been.|allocate|
|000011f0| 64 20 74 6f 20 4f 70 65 | 6e 20 50 72 6f 6c 6f 67 |d to Ope|n Prolog|
|00001200| 2e 20 54 68 69 73 20 77 | 69 6c 6c 20 62 65 20 75 |. This w|ill be u|
|00001210| 70 20 74 6f 20 61 20 6d | 61 78 69 6d 75 6d 20 6f |p to a m|aximum o|
|00001220| 66 20 77 68 61 74 20 77 | 61 73 20 61 73 6b 65 64 |f what w|as asked|
|00001230| 0d 66 6f 72 2c 20 62 75 | 74 20 6d 61 79 20 62 65 |.for, bu|t may be|
|00001240| 20 6d 75 63 68 20 6c 65 | 73 73 20 69 66 20 74 68 | much le|ss if th|
|00001250| 65 72 65 20 69 73 6e 27 | 74 20 65 6e 6f 75 67 68 |ere isn'|t enough|
|00001260| 20 6d 65 6d 6f 72 79 20 | 69 6e 20 74 68 65 20 6d | memory |in the m|
|00001270| 61 63 68 69 6e 65 2e 0d | 0d 0d d7 20 49 6e 73 74 |achine..|... Inst|
|00001280| 61 6c 6c 69 6e 67 20 4f | 70 65 6e 20 50 72 6f 6c |alling O|pen Prol|
|00001290| 6f 67 0d 0d 4f 70 65 6e | 20 50 72 6f 6c 6f 67 20 |og..Open| Prolog |
|000012a0| 63 61 6e 20 62 65 20 72 | 75 6e 20 66 72 6f 6d 20 |can be r|un from |
|000012b0| 66 6c 6f 70 70 79 2c 20 | 68 61 72 64 20 64 69 73 |floppy, |hard dis|
|000012c0| 6b 2c 20 6f 72 20 66 69 | 6c 65 20 73 65 72 76 65 |k, or fi|le serve|
|000012d0| 72 2e 0d 49 74 20 6d 61 | 79 20 62 65 20 69 6e 20 |r..It ma|y be in |
|000012e0| 61 20 6c 6f 63 6b 65 64 | 20 6f 72 20 72 65 61 64 |a locked| or read|
|000012f0| 2d 6f 6e 6c 79 20 76 6f | 6c 75 6d 65 2e 20 49 74 |-only vo|lume. It|
|00001300| 20 72 65 71 75 69 72 65 | 73 20 6e 6f 20 73 70 65 | require|s no spe|
|00001310| 63 69 61 6c 20 69 6e 73 | 74 61 6c 6c 61 74 69 6f |cial ins|tallatio|
|00001320| 6e 2e 20 0d 0d 28 50 72 | 65 76 69 6f 75 73 20 76 |n. ..(Pr|evious v|
|00001330| 65 72 73 69 6f 6e 73 20 | 6e 65 65 64 65 64 20 74 |ersions |needed t|
|00001340| 68 65 20 66 69 6c 65 20 | 53 79 73 65 72 72 73 2e |he file |Syserrs.|
|00001350| 45 72 72 20 69 6e 20 74 | 68 65 20 53 79 73 74 65 |Err in t|he Syste|
|00001360| 6d 20 46 6f 6c 64 65 72 | 20 74 6f 20 70 72 6f 76 |m Folder| to prov|
|00001370| 69 64 65 0d 65 72 72 6f | 72 20 69 6e 66 6f 72 6d |ide.erro|r inform|
|00001380| 61 74 69 6f 6e 2c 20 62 | 75 74 20 74 68 69 73 20 |ation, b|ut this |
|00001390| 72 65 71 75 69 72 65 6d | 65 6e 74 20 68 61 73 20 |requirem|ent has |
|000013a0| 62 65 65 6e 20 72 65 6d | 6f 76 65 64 2e 20 52 65 |been rem|oved. Re|
|000013b0| 6d 6f 76 65 20 53 79 73 | 65 72 72 73 2e 45 72 72 |move Sys|errs.Err|
|000013c0| 0d 69 66 20 79 6f 75 20 | 6e 6f 20 6c 6f 6e 67 65 |.if you |no longe|
|000013d0| 72 20 6e 65 65 64 20 69 | 74 20 66 6f 72 20 6f 74 |r need i|t for ot|
|000013e0| 68 65 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |her appl|ications|
|000013f0| 2e 29 0d 0d 57 68 65 6e | 20 4f 70 65 6e 20 50 72 |.)..When| Open Pr|
|00001400| 6f 6c 6f 67 20 73 74 61 | 72 74 73 20 75 70 2c 20 |olog sta|rts up, |
|00001410| 69 74 20 6c 6f 6f 6b 73 | 20 66 6f 72 20 61 20 66 |it looks| for a f|
|00001420| 6f 6c 64 65 72 20 63 61 | 6c 6c 65 64 20 4f 70 65 |older ca|lled Ope|
|00001430| 6e 20 50 72 6f 6c 6f 67 | 20 41 64 64 69 74 69 6f |n Prolog| Additio|
|00001440| 6e 73 2e 20 54 68 69 73 | 20 66 6f 6c 64 65 72 20 |ns. This| folder |
|00001450| 68 61 73 20 74 6f 20 62 | 65 20 69 6e 20 74 68 65 |has to b|e in the|
|00001460| 20 45 78 74 65 6e 73 69 | 6f 6e 73 20 66 6f 6c 64 | Extensi|ons fold|
|00001470| 65 72 20 6f 66 20 79 6f | 75 72 20 53 79 73 74 65 |er of yo|ur Syste|
|00001480| 6d 20 46 6f 6c 64 65 72 | 20 28 6f 72 20 6a 75 73 |m Folder| (or jus|
|00001490| 74 20 69 6e 20 74 68 65 | 20 53 79 73 74 65 6d 20 |t in the| System |
|000014a0| 46 6f 6c 64 65 72 20 69 | 66 20 79 6f 75 27 72 65 |Folder i|f you're|
|000014b0| 20 75 73 69 6e 67 20 53 | 79 73 74 65 6d 20 36 29 | using S|ystem 6)|
|000014c0| 2e 20 49 66 20 74 68 65 | 20 66 6f 6c 64 65 72 20 |. If the| folder |
|000014d0| 64 6f 65 73 6e 27 74 20 | 65 78 69 73 74 2c 20 74 |doesn't |exist, t|
|000014e0| 68 65 6e 20 4f 70 65 6e | 20 50 72 6f 6c 6f 67 20 |hen Open| Prolog |
|000014f0| 77 69 6c 6c 20 63 72 65 | 61 74 65 20 69 74 2e 20 |will cre|ate it. |
|00001500| 59 6f 75 20 63 61 6e 20 | 70 6c 61 63 65 20 65 78 |You can |place ex|
|00001510| 74 72 61 20 73 74 75 66 | 66 20 66 6f 72 20 4f 70 |tra stuf|f for Op|
|00001520| 65 6e 20 50 72 6f 6c 6f | 67 20 74 6f 20 75 73 65 |en Prolo|g to use|
|00001530| 20 69 6e 20 74 68 65 20 | 4f 70 65 6e 20 50 72 6f | in the |Open Pro|
|00001540| 6c 6f 67 20 41 64 64 69 | 74 69 6f 6e 73 20 66 6f |log Addi|tions fo|
|00001550| 6c 64 65 72 2e 20 46 6f | 72 20 65 78 61 6d 70 6c |lder. Fo|r exampl|
|00001560| 65 2c 20 69 6e 20 74 68 | 69 73 20 72 65 6c 65 61 |e, in th|is relea|
|00001570| 73 65 2c 20 74 68 65 72 | 65 20 69 73 20 61 20 66 |se, ther|e is a f|
|00001580| 6f 6c 64 65 72 20 63 61 | 6c 6c 65 64 20 27 66 6f |older ca|lled 'fo|
|00001590| 72 20 74 68 65 20 4f 70 | 65 6e 20 50 72 6f 6c 6f |r the Op|en Prolo|
|000015a0| 67 20 41 64 64 69 74 69 | 6f 6e 73 20 c4 27 20 77 |g Additi|ons .' w|
|000015b0| 68 69 63 68 20 63 6f 6e | 74 61 69 6e 73 20 74 77 |hich con|tains tw|
|000015c0| 6f 20 65 78 74 72 61 20 | 70 72 65 64 69 63 61 74 |o extra |predicat|
|000015d0| 65 73 2e 20 49 66 20 79 | 6f 75 20 77 61 6e 74 20 |es. If y|ou want |
|000015e0| 74 6f 20 75 73 65 20 74 | 68 65 6d 2c 20 64 72 61 |to use t|hem, dra|
|000015f0| 67 20 74 68 65 6d 20 69 | 6e 74 6f 20 74 68 65 20 |g them i|nto the |
|00001600| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 20 41 64 64 69 |Open Pro|log Addi|
|00001610| 74 69 6f 6e 73 20 66 6f | 6c 64 65 72 20 61 6e 64 |tions fo|lder and|
|00001620| 20 72 65 73 74 61 72 74 | 20 4f 70 65 6e 20 50 72 | restart| Open Pr|
|00001630| 6f 6c 6f 67 2e 20 4f 6e | 65 20 70 72 65 64 69 63 |olog. On|e predic|
|00001640| 61 74 65 20 69 73 20 63 | 61 6c 6c 65 64 20 65 6e |ate is c|alled en|
|00001650| 76 69 72 6f 6e 6d 65 6e | 74 2f 31 2c 20 67 69 76 |vironmen|t/1, giv|
|00001660| 69 6e 67 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |ing info|rmation |
|00001670| 61 62 6f 75 74 20 74 68 | 65 20 50 72 6f 6c 6f 67 |about th|e Prolog|
|00001680| 20 65 6e 76 69 72 6f 6e | 6d 65 6e 74 2c 20 61 6e | environ|ment, an|
|00001690| 64 20 74 68 65 20 6f 74 | 68 65 72 20 69 73 20 63 |d the ot|her is c|
|000016a0| 61 6c 6c 65 64 20 64 65 | 62 75 67 53 74 61 72 74 |alled de|bugStart|
|000016b0| 41 63 74 69 6f 6e 2f 30 | 2c 20 63 61 6c 6c 65 64 |Action/0|, called|
|000016c0| 20 6a 75 73 74 20 77 68 | 65 6e 20 61 20 74 72 61 | just wh|en a tra|
|000016d0| 63 65 20 62 65 67 69 6e | 73 2e 0d 0d d7 20 55 73 |ce begin|s.... Us|
|000016e0| 69 6e 67 20 4f 70 65 6e | 20 50 72 6f 6c 6f 67 0d |ing Open| Prolog.|
|000016f0| 0d 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 69 73 20 |.Open Pr|olog is |
|00001700| 61 20 74 65 78 74 2d 6f | 72 69 65 6e 74 65 64 20 |a text-o|riented |
|00001710| 50 72 6f 6c 6f 67 2e 20 | 49 66 20 79 6f 75 20 68 |Prolog. |If you h|
|00001720| 61 76 65 20 75 73 65 64 | 20 44 45 43 20 50 72 6f |ave used| DEC Pro|
|00001730| 6c 6f 67 20 6f 72 0d 43 | 2d 50 72 6f 6c 6f 67 2c |log or.C|-Prolog,|
|00001740| 20 74 68 65 6e 20 74 68 | 65 20 73 74 79 6c 65 20 | then th|e style |
|00001750| 6f 66 20 75 73 65 20 6f | 66 20 4f 70 65 6e 20 50 |of use o|f Open P|
|00001760| 72 6f 6c 6f 67 20 69 73 | 20 71 75 69 74 65 20 73 |rolog is| quite s|
|00001770| 69 6d 69 6c 61 72 2e 0d | 0d 54 6f 20 74 72 79 20 |imilar..|.To try |
|00001780| 74 6f 20 74 61 6b 65 20 | 61 64 76 61 6e 74 61 67 |to take |advantag|
|00001790| 65 20 6f 66 20 4d 61 63 | 69 6e 74 6f 73 68 27 73 |e of Mac|intosh's|
|000017a0| 20 67 72 65 61 74 20 75 | 73 65 72 20 69 6e 74 65 | great u|ser inte|
|000017b0| 72 66 61 63 65 2c 20 4f | 70 65 6e 20 50 72 6f 6c |rface, O|pen Prol|
|000017c0| 6f 67 27 73 20 75 73 65 | 72 20 69 6e 74 65 72 66 |og's use|r interf|
|000017d0| 61 63 65 20 69 73 20 77 | 69 6e 64 6f 77 2d 6f 72 |ace is w|indow-or|
|000017e0| 69 65 6e 74 65 64 20 72 | 61 74 68 65 72 20 74 68 |iented r|ather th|
|000017f0| 61 6e 20 6c 69 6e 65 2d | 6f 72 69 65 6e 74 65 64 |an line-|oriented|
|00001800| 2e 20 54 6f 20 61 63 63 | 6f 6d 70 6c 69 73 68 20 |. To acc|omplish |
|00001810| 74 68 69 73 20 65 66 66 | 65 63 74 69 76 65 6c 79 |this eff|ectively|
|00001820| 2c 20 74 68 65 72 65 20 | 61 72 65 20 61 20 66 65 |, there |are a fe|
|00001830| 77 20 64 69 66 66 65 72 | 65 6e 63 65 73 20 62 65 |w differ|ences be|
|00001840| 74 77 65 65 6e 20 4f 70 | 65 6e 20 50 72 6f 6c 6f |tween Op|en Prolo|
|00001850| 67 27 73 20 69 6e 74 65 | 72 66 61 63 65 20 61 6e |g's inte|rface an|
|00001860| 64 2c 20 73 61 79 2c 20 | 43 2d 50 72 6f 6c 6f 67 |d, say, |C-Prolog|
|00001870| 27 73 2e 20 49 6e 20 70 | 61 72 74 69 63 75 6c 61 |'s. In p|articula|
|00001880| 72 2c 20 74 68 65 20 28 | 6c 69 6e 65 20 6f 72 69 |r, the (|line ori|
|00001890| 65 6e 74 65 64 29 20 70 | 72 6f 6d 70 74 73 20 6f |ented) p|rompts o|
|000018a0| 66 20 43 2d 50 72 6f 6c | 6f 67 20 61 72 65 20 6d |f C-Prol|og are m|
|000018b0| 6f 76 65 64 20 74 6f 20 | 74 68 65 20 73 74 61 74 |oved to |the stat|
|000018c0| 75 73 20 62 61 72 2c 20 | 61 6e 64 20 79 6f 75 20 |us bar, |and you |
|000018d0| 6d 61 6b 65 20 75 73 65 | 20 6f 66 20 74 68 65 20 |make use| of the |
|000018e0| 45 4e 54 45 52 20 6b 65 | 79 20 74 6f 20 65 6e 74 |ENTER ke|y to ent|
|000018f0| 65 72 20 63 6f 6d 6d 61 | 6e 64 73 20 61 6e 64 20 |er comma|nds and |
|00001900| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 0d 0d 49 66 |informat|ion...If|
|00001910| 20 79 6f 75 20 68 61 76 | 65 6e 27 74 20 64 6f 6e | you hav|en't don|
|00001920| 65 20 73 6f 20 61 6c 72 | 65 61 64 79 2c 20 79 6f |e so alr|eady, yo|
|00001930| 75 20 73 68 6f 75 6c 64 | 20 67 6f 20 74 68 72 6f |u should| go thro|
|00001940| 75 67 68 20 74 68 65 20 | 62 65 67 69 6e 6e 65 72 |ugh the |beginner|
|00001950| 73 20 74 75 74 6f 72 69 | 61 6c 20 69 6e 20 27 47 |s tutori|al in 'G|
|00001960| 65 74 74 69 6e 67 20 53 | 74 61 72 74 65 64 27 2e |etting S|tarted'.|
|00001970| 20 0d 0d d7 20 53 74 61 | 72 74 75 70 0d 0d 49 6e | ... Sta|rtup..In|
|00001980| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 4d 61 | the sta|ndard Ma|
|00001990| 63 69 6e 74 6f 73 68 20 | 77 61 79 2c 20 79 6f 75 |cintosh |way, you|
|000019a0| 20 63 61 6e 20 73 74 61 | 72 74 20 4f 70 65 6e 20 | can sta|rt Open |
|000019b0| 50 72 6f 6c 6f 67 0d 65 | 69 74 68 65 72 20 62 79 |Prolog.e|ither by|
|000019c0| 20 6f 70 65 6e 69 6e 67 | 20 73 6f 6d 65 20 6f 66 | opening| some of|
|000019d0| 20 69 74 73 20 64 6f 63 | 75 6d 65 6e 74 73 20 6f | its doc|uments o|
|000019e0| 72 20 62 79 20 6f 70 65 | 6e 69 6e 67 20 74 68 65 |r by ope|ning the|
|000019f0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 69 74 73 | applica|tion its|
|00001a00| 65 6c 66 2e 0d 0d a1 20 | 48 6f 6d 65 20 46 6f 6c |elf.... |Home Fol|
|00001a10| 64 65 72 0d 41 20 27 48 | 6f 6d 65 20 46 6f 6c 64 |der.A 'H|ome Fold|
|00001a20| 65 72 27 20 69 73 20 63 | 68 6f 73 65 6e 20 61 75 |er' is c|hosen au|
|00001a30| 74 6f 6d 61 74 69 63 61 | 6c 6c 79 20 61 73 20 66 |tomatica|lly as f|
|00001a40| 6f 6c 6c 6f 77 73 3a 0d | 49 66 20 79 6f 75 20 73 |ollows:.|If you s|
|00001a50| 74 61 72 74 20 4f 70 65 | 6e 20 50 72 6f 6c 6f 67 |tart Ope|n Prolog|
|00001a60| 20 62 79 20 6f 70 65 6e | 69 6e 67 20 73 6f 6d 65 | by open|ing some|
|00001a70| 20 6f 66 20 69 74 73 20 | 64 6f 63 75 6d 65 6e 74 | of its |document|
|00001a80| 73 2c 20 74 68 65 6e 20 | 74 68 65 0d 66 6f 6c 64 |s, then |the.fold|
|00001a90| 65 72 20 74 68 65 20 64 | 6f 63 75 6d 65 6e 74 73 |er the d|ocuments|
|00001aa0| 20 61 72 65 20 69 6e 20 | 62 65 63 6f 6d 65 73 20 | are in |becomes |
|00001ab0| 74 68 65 20 48 6f 6d 65 | 20 46 6f 6c 64 65 72 2e |the Home| Folder.|
|00001ac0| 0d 49 66 20 79 6f 75 20 | 73 74 61 72 74 20 4f 70 |.If you |start Op|
|00001ad0| 65 6e 20 50 72 6f 6c 6f | 67 20 62 79 20 6f 70 65 |en Prolo|g by ope|
|00001ae0| 6e 69 6e 67 20 69 74 20 | 64 69 72 65 63 74 6c 79 |ning it |directly|
|00001af0| 2c 20 74 68 65 6e 20 74 | 68 65 20 66 6f 6c 64 65 |, then t|he folde|
|00001b00| 72 20 69 74 27 73 20 69 | 6e 0d 62 65 63 6f 6d 65 |r it's i|n.become|
|00001b10| 73 20 74 68 65 20 48 6f | 6d 65 20 46 6f 6c 64 65 |s the Ho|me Folde|
|00001b20| 72 2e 0d 53 65 65 20 74 | 68 65 20 73 65 63 74 69 |r..See t|he secti|
|00001b30| 6f 6e 20 6f 6e 20 46 69 | 6c 65 20 4e 61 6d 69 6e |on on Fi|le Namin|
|00001b40| 67 20 66 6f 72 20 74 68 | 65 20 73 69 67 6e 69 66 |g for th|e signif|
|00001b50| 69 63 61 6e 63 65 20 6f | 66 20 74 68 65 0d 48 6f |icance o|f the.Ho|
|00001b60| 6d 65 20 46 6f 6c 64 65 | 72 2e 0d 0d a1 20 53 74 |me Folde|r.... St|
|00001b70| 61 72 74 75 70 20 46 6f | 6c 64 65 72 0d 54 68 65 |artup Fo|lder.The|
|00001b80| 20 53 74 61 72 74 75 70 | 20 46 6f 6c 64 65 72 20 | Startup| Folder |
|00001b90| 69 73 20 74 68 65 20 66 | 6f 6c 64 65 72 20 4f 70 |is the f|older Op|
|00001ba0| 65 6e 20 50 72 6f 6c 6f | 67 20 69 73 20 69 6e 20 |en Prolo|g is in |
|00001bb0| 77 68 65 6e 20 69 74 20 | 69 73 20 6c 61 75 6e 63 |when it |is launc|
|00001bc0| 68 65 64 2e 0d 0d a1 20 | 41 64 64 69 74 69 6f 6e |hed.... |Addition|
|00001bd0| 73 20 46 6f 6c 64 65 72 | 0d 54 68 65 20 41 64 64 |s Folder|.The Add|
|00001be0| 69 74 69 6f 6e 73 20 46 | 6f 6c 64 65 72 20 69 73 |itions F|older is|
|00001bf0| 20 74 68 65 20 66 6f 6c | 64 65 72 20 63 61 6c 6c | the fol|der call|
|00001c00| 65 64 20 27 4f 70 65 6e | 20 50 72 6f 6c 6f 67 20 |ed 'Open| Prolog |
|00001c10| 41 64 64 69 74 69 6f 6e | 73 27 20 74 68 61 74 20 |Addition|s' that |
|00001c20| 69 73 20 69 6e 20 74 68 | 65 20 45 78 74 65 6e 73 |is in th|e Extens|
|00001c30| 69 6f 6e 73 20 66 6f 6c | 64 65 72 20 6f 66 20 79 |ions fol|der of y|
|00001c40| 6f 75 72 20 53 79 73 74 | 65 6d 20 46 6f 6c 64 65 |our Syst|em Folde|
|00001c50| 72 20 28 6f 72 20 69 6e | 20 74 68 65 20 53 79 73 |r (or in| the Sys|
|00001c60| 74 65 6d 20 46 6f 6c 64 | 65 72 20 69 66 20 79 6f |tem Fold|er if yo|
|00001c70| 75 27 72 65 20 75 73 69 | 6e 67 20 53 79 73 74 65 |u're usi|ng Syste|
|00001c80| 6d 20 36 29 2e 0d 0d a1 | 20 53 74 61 72 74 75 70 |m 6)....| Startup|
|00001c90| 20 41 63 74 69 6f 6e 73 | 0d 42 65 66 6f 72 65 20 | Actions|.Before |
|00001ca0| 6f 70 65 6e 69 6e 67 20 | 61 6e 79 20 66 69 6c 65 |opening |any file|
|00001cb0| 73 20 74 68 61 74 20 79 | 6f 75 20 6d 61 79 20 68 |s that y|ou may h|
|00001cc0| 61 76 65 20 73 65 6c 65 | 63 74 65 64 20 6f 6e 20 |ave sele|cted on |
|00001cd0| 74 68 65 20 64 65 73 6b | 74 6f 70 2c 0d 4f 70 65 |the desk|top,.Ope|
|00001ce0| 6e 20 50 72 6f 6c 6f 67 | 20 77 69 6c 6c 20 6f 70 |n Prolog| will op|
|00001cf0| 65 6e 20 61 20 57 6f 72 | 6b 73 68 65 65 74 20 69 |en a Wor|ksheet i|
|00001d00| 6e 20 74 68 65 20 68 6f | 6d 65 20 66 6f 6c 64 65 |n the ho|me folde|
|00001d10| 72 2c 20 61 6c 77 61 79 | 73 20 63 61 6c 6c 65 64 |r, alway|s called|
|00001d20| 0d 27 4f 70 65 6e 20 50 | 72 6f 6c 6f 67 20 57 6f |.'Open P|rolog Wo|
|00001d30| 72 6b 73 68 65 65 74 27 | 2e 0d 0d 4f 70 65 6e 20 |rksheet'|...Open |
|00001d40| 50 72 6f 6c 6f 67 20 64 | 6f 65 73 20 61 20 66 65 |Prolog d|oes a fe|
|00001d50| 77 20 6f 74 68 65 72 20 | 74 68 69 6e 67 73 20 61 |w other |things a|
|00001d60| 74 20 73 74 61 72 74 75 | 70 3a 0d 49 74 20 6c 6f |t startu|p:.It lo|
|00001d70| 6f 6b 73 20 69 6e 20 74 | 68 65 20 73 74 61 72 74 |oks in t|he start|
|00001d80| 75 70 20 66 6f 6c 64 65 | 72 2c 20 61 6e 64 2c 20 |up folde|r, and, |
|00001d90| 69 66 20 6e 65 63 65 73 | 73 61 72 79 2c 20 74 68 |if neces|sary, th|
|00001da0| 65 20 61 64 64 69 74 69 | 6f 6e 73 20 66 6f 6c 64 |e additi|ons fold|
|00001db0| 65 72 2c 20 66 6f 72 20 | 61 20 66 69 6c 65 20 63 |er, for |a file c|
|00001dc0| 61 6c 6c 65 64 20 27 4f | 70 65 6e 20 50 72 6f 6c |alled 'O|pen Prol|
|00001dd0| 6f 67 20 4f 70 74 69 6f | 6e 73 27 2c 20 61 6e 64 |og Optio|ns', and|
|00001de0| 20 69 66 20 69 74 20 65 | 78 69 73 74 73 2c 20 69 | if it e|xists, i|
|00001df0| 74 20 69 73 20 63 6f 6e | 73 75 6c 74 65 64 2e 0d |t is con|sulted..|
|00001e00| 0d 49 74 20 6c 6f 6f 6b | 73 20 69 6e 20 74 68 65 |.It look|s in the|
|00001e10| 20 68 6f 6d 65 20 66 6f | 6c 64 65 72 20 66 6f 72 | home fo|lder for|
|00001e20| 20 61 20 66 69 6c 65 20 | 63 61 6c 6c 65 64 20 27 | a file |called '|
|00001e30| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 20 53 74 61 72 |Open Pro|log Star|
|00001e40| 74 75 70 27 20 61 6e 64 | 20 69 66 0d 69 74 20 65 |tup' and| if.it e|
|00001e50| 78 69 73 74 73 2c 20 69 | 74 20 69 73 20 63 6f 6e |xists, i|t is con|
|00001e60| 73 75 6c 74 65 64 2e 0d | 0d 54 68 65 73 65 20 66 |sulted..|.These f|
|00001e70| 69 6c 65 73 20 63 61 6e | 20 62 65 20 75 73 65 64 |iles can| be used|
|00001e80| 20 74 6f 20 64 6f 20 72 | 6f 75 74 69 6e 65 20 74 | to do r|outine t|
|00001e90| 68 69 6e 67 73 20 61 74 | 20 73 74 61 72 74 75 70 |hings at| startup|
|00001ea0| 2c 20 69 66 20 64 65 73 | 69 72 65 64 2e 0d 4f 70 |, if des|ired..Op|
|00001eb0| 65 6e 20 50 72 6f 6c 6f | 67 20 4f 70 74 69 6f 6e |en Prolo|g Option|
|00001ec0| 73 20 73 68 6f 75 6c 64 | 20 63 6f 6e 74 61 69 6e |s should| contain|
|00001ed0| 20 67 65 6e 65 72 61 6c | 6c 79 20 75 73 65 66 75 | general|ly usefu|
|00001ee0| 6c 20 73 74 75 66 66 2c | 20 77 68 65 72 65 61 73 |l stuff,| whereas|
|00001ef0| 0d 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 53 74 61 |.Open Pr|olog Sta|
|00001f00| 72 74 75 70 2c 20 62 65 | 69 6e 67 20 73 70 65 63 |rtup, be|ing spec|
|00001f10| 69 66 69 63 20 74 6f 20 | 61 20 66 6f 6c 64 65 72 |ific to |a folder|
|00001f20| 2c 20 63 61 6e 20 63 6f | 6e 74 61 69 6e 20 6d 6f |, can co|ntain mo|
|00001f30| 72 65 20 73 70 65 63 69 | 61 6c 69 73 65 64 0d 73 |re speci|alised.s|
|00001f40| 74 61 72 74 75 70 20 73 | 74 75 66 66 2e 0d 0d 46 |tartup s|tuff...F|
|00001f50| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 69 6e 20 74 |or examp|le, in t|
|00001f60| 68 69 73 20 64 69 73 74 | 72 69 62 75 74 69 6f 6e |his dist|ribution|
|00001f70| 20 6f 66 20 4f 70 65 6e | 20 50 72 6f 6c 6f 67 2c | of Open| Prolog,|
|00001f80| 20 61 20 63 6c 61 75 73 | 65 20 69 6e 0d 74 68 65 | a claus|e in.the|
|00001f90| 20 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 53 74 61 | Open Pr|olog Sta|
|00001fa0| 72 74 75 70 20 66 69 6c | 65 20 64 69 73 70 6c 61 |rtup fil|e displa|
|00001fb0| 79 73 20 61 6e 20 61 6c | 65 72 74 20 6d 65 73 73 |ys an al|ert mess|
|00001fc0| 61 67 65 20 69 6e 20 61 | 20 62 6f 78 20 6e 6f 74 |age in a| box not|
|00001fd0| 69 66 79 69 6e 67 20 79 | 6f 75 20 61 62 6f 75 74 |ifying y|ou about|
|00001fe0| 20 74 68 65 20 27 47 65 | 74 74 69 6e 67 20 53 74 | the 'Ge|tting St|
|00001ff0| 61 72 74 65 64 27 20 64 | 6f 63 75 6d 65 6e 74 2e |arted' d|ocument.|
|00002000| 0d 53 6f 2c 20 69 66 20 | 74 68 69 73 20 66 6f 6c |.So, if |this fol|
|00002010| 64 65 72 20 68 61 70 70 | 65 6e 73 20 74 6f 20 62 |der happ|ens to b|
|00002020| 65 20 74 68 65 20 48 6f | 6d 65 20 46 6f 6c 64 65 |e the Ho|me Folde|
|00002030| 72 2c 20 74 68 65 6e 20 | 74 68 65 20 4f 70 65 6e |r, then |the Open|
|00002040| 20 50 72 6f 6c 6f 67 20 | 53 74 61 72 74 75 70 0d | Prolog |Startup.|
|00002050| 66 69 6c 65 20 77 69 6c | 6c 20 62 65 20 63 6f 6e |file wil|l be con|
|00002060| 73 75 6c 74 65 64 2c 20 | 61 6e 64 20 79 6f 75 27 |sulted, |and you'|
|00002070| 6c 6c 20 67 65 74 20 74 | 68 65 20 61 6c 65 72 74 |ll get t|he alert|
|00002080| 20 6d 65 73 73 61 67 65 | 2e 0d 0d 4f 6e 63 65 20 | message|...Once |
|00002090| 74 68 65 20 73 74 61 72 | 74 75 70 20 70 68 61 73 |the star|tup phas|
|000020a0| 65 20 69 73 20 66 69 6e | 69 73 68 65 64 2c 20 79 |e is fin|ished, y|
|000020b0| 6f 75 20 61 72 65 20 66 | 72 65 65 20 74 6f 20 65 |ou are f|ree to e|
|000020c0| 64 69 74 20 74 68 65 73 | 65 20 66 69 6c 65 73 20 |dit thes|e files |
|000020d0| 69 6e 20 74 68 65 0d 6e | 6f 72 6d 61 6c 20 77 61 |in the.n|ormal wa|
|000020e0| 79 20 2d 20 74 68 65 72 | 65 27 73 20 6e 6f 74 68 |y - ther|e's noth|
|000020f0| 69 6e 67 20 73 70 65 63 | 69 61 6c 20 61 62 6f 75 |ing spec|ial abou|
|00002100| 74 20 74 68 65 6d 2e 0d | 0d 4e 6f 74 65 20 74 68 |t them..|.Note th|
|00002110| 61 74 20 77 68 69 6c 65 | 20 4f 70 65 6e 20 50 72 |at while| Open Pr|
|00002120| 6f 6c 6f 67 20 4f 70 74 | 69 6f 6e 73 20 69 73 20 |olog Opt|ions is |
|00002130| 62 65 69 6e 67 20 63 6f | 6e 73 75 6c 74 65 64 20 |being co|nsulted |
|00002140| 64 75 72 69 6e 67 20 73 | 74 61 72 74 75 70 2c 20 |during s|tartup, |
|00002150| 74 68 65 20 64 65 66 61 | 75 6c 74 20 66 6f 6c 64 |the defa|ult fold|
|00002160| 65 72 20 66 6f 72 20 66 | 69 6c 65 73 20 69 73 20 |er for f|iles is |
|00002170| 74 68 65 20 73 74 61 72 | 74 75 70 20 6f 72 20 61 |the star|tup or a|
|00002180| 64 64 69 74 69 6f 6e 73 | 20 66 6f 6c 64 65 72 20 |dditions| folder |
|00002190| 72 61 74 68 65 72 20 74 | 68 61 6e 20 74 68 65 20 |rather t|han the |
|000021a0| 68 6f 6d 65 20 66 6f 6c | 64 65 72 2e 0d 54 68 69 |home fol|der..Thi|
|000021b0| 73 20 66 61 63 69 6c 69 | 74 61 74 65 73 20 61 75 |s facili|tates au|
|000021c0| 74 6f 6d 61 74 69 63 20 | 73 74 61 72 74 75 70 20 |tomatic |startup |
|000021d0| 77 69 74 68 20 6d 75 6c | 74 69 70 6c 65 20 66 69 |with mul|tiple fi|
|000021e0| 6c 65 20 63 6f 6e 73 75 | 6c 74 61 74 69 6f 6e 2e |le consu|ltation.|
|000021f0| 20 0d 0d 0d d7 20 57 6f | 72 6b 69 6e 67 20 77 69 | .... Wo|rking wi|
|00002200| 74 68 20 4f 70 65 6e 20 | 50 72 6f 6c 6f 67 0d 0d |th Open |Prolog..|
|00002210| 49 74 20 68 65 6c 70 73 | 20 74 6f 20 76 69 73 75 |It helps| to visu|
|00002220| 61 6c 69 73 65 20 74 68 | 65 20 73 79 73 74 65 6d |alise th|e system|
|00002230| 20 61 73 20 68 61 76 69 | 6e 67 20 74 77 6f 20 64 | as havi|ng two d|
|00002240| 69 73 74 69 6e 63 74 20 | 70 61 72 74 73 20 2d 0d |istinct |parts -.|
|00002250| 74 68 65 20 74 65 78 74 | 20 65 64 69 74 6f 72 20 |the text| editor |
|00002260| 61 6e 64 20 74 68 65 20 | 50 72 6f 6c 6f 67 20 69 |and the |Prolog i|
|00002270| 6e 74 65 72 70 72 65 74 | 65 72 2e 0d 0d d7 20 54 |nterpret|er.... T|
|00002280| 68 65 20 54 65 78 74 20 | 45 64 69 74 6f 72 20 70 |he Text |Editor p|
|00002290| 61 72 74 20 6f 66 20 4f | 70 65 6e 20 50 72 6f 6c |art of O|pen Prol|
|000022a0| 6f 67 0d 0d 59 6f 75 72 | 20 69 6e 74 65 72 61 63 |og..Your| interac|
|000022b0| 74 69 6f 6e 20 77 69 74 | 68 20 4f 70 65 6e 20 50 |tion wit|h Open P|
|000022c0| 72 6f 6c 6f 67 20 69 73 | 20 76 69 61 20 74 68 65 |rolog is| via the|
|000022d0| 20 74 65 78 74 20 65 64 | 69 74 6f 72 2e 20 57 69 | text ed|itor. Wi|
|000022e0| 74 68 20 69 74 2c 20 79 | 6f 75 20 63 61 6e 20 64 |th it, y|ou can d|
|000022f0| 6f 0d 74 65 78 74 20 65 | 64 69 74 69 6e 67 20 74 |o.text e|diting t|
|00002300| 68 69 6e 67 73 20 6f 6e | 20 74 68 65 20 57 6f 72 |hings on| the Wor|
|00002310| 6b 73 68 65 65 74 2c 20 | 61 6e 64 20 6f 6e 20 75 |ksheet, |and on u|
|00002320| 70 20 74 6f 20 73 65 76 | 65 6e 20 6f 74 68 65 72 |p to sev|en other|
|00002330| 20 66 69 6c 65 73 2e 20 | 59 6f 75 20 63 61 6e 20 | files. |You can |
|00002340| 61 6c 73 6f 20 69 73 73 | 75 65 20 63 6f 6d 6d 61 |also iss|ue comma|
|00002350| 6e 64 73 20 61 6e 64 20 | 73 65 6e 64 20 69 6e 66 |nds and |send inf|
|00002360| 6f 72 6d 61 74 69 6f 6e | 20 69 6e 74 6f 20 74 68 |ormation| into th|
|00002370| 65 20 50 72 6f 6c 6f 67 | 20 69 6e 74 65 72 70 72 |e Prolog| interpr|
|00002380| 65 74 65 72 20 2d 20 73 | 65 65 20 6c 61 74 65 72 |eter - s|ee later|
|00002390| 2e 0d 0d 54 68 65 20 74 | 65 78 74 2d 65 64 69 74 |...The t|ext-edit|
|000023a0| 69 6e 67 20 66 61 63 69 | 6c 69 74 69 65 73 20 6f |ing faci|lities o|
|000023b0| 66 66 65 72 65 64 20 61 | 72 65 20 73 74 61 6e 64 |ffered a|re stand|
|000023c0| 61 72 64 20 74 65 78 74 | 20 65 64 69 74 6f 72 20 |ard text| editor |
|000023d0| 63 6f 6d 6d 61 6e 64 73 | 20 61 6e 64 20 66 75 6e |commands| and fun|
|000023e0| 63 74 69 6f 6e 73 2e 0d | 0d 57 6f 72 74 68 20 6d |ctions..|.Worth m|
|000023f0| 65 6e 74 69 6f 6e 69 6e | 67 20 69 73 20 27 41 75 |entionin|g is 'Au|
|00002400| 74 6f 2d 69 6e 64 65 6e | 74 27 20 77 68 69 63 68 |to-inden|t' which|
|00002410| 2c 20 69 66 20 65 6e 61 | 62 6c 65 64 2c 20 77 6f |, if ena|bled, wo|
|00002420| 72 6b 73 20 62 79 20 63 | 6f 70 79 69 6e 67 20 61 |rks by c|opying a|
|00002430| 6c 6c 20 74 68 65 20 73 | 70 61 63 65 73 20 26 20 |ll the s|paces & |
|00002440| 74 61 62 73 20 66 72 6f | 6d 20 74 68 65 20 73 74 |tabs fro|m the st|
|00002450| 61 72 74 20 6f 66 20 74 | 68 65 20 70 72 65 76 69 |art of t|he previ|
|00002460| 6f 75 73 20 6c 69 6e 65 | 20 64 6f 77 6e 20 74 6f |ous line| down to|
|00002470| 20 74 68 65 20 73 74 61 | 72 74 20 6f 66 20 74 68 | the sta|rt of th|
|00002480| 69 73 20 6c 69 6e 65 2e | 0d 48 6f 6c 64 69 6e 67 |is line.|.Holding|
|00002490| 20 64 6f 77 6e 20 74 68 | 65 20 4f 70 74 69 6f 6e | down th|e Option|
|000024a0| 20 6b 65 79 20 77 68 65 | 6e 20 74 79 70 69 6e 67 | key whe|n typing|
|000024b0| 20 52 65 74 75 72 6e 20 | 77 69 6c 6c 20 64 6f 20 | Return |will do |
|000024c0| 74 68 65 20 6f 70 70 6f | 73 69 74 65 20 6f 66 20 |the oppo|site of |
|000024d0| 77 68 61 74 65 76 65 72 | 20 69 73 20 73 65 6c 65 |whatever| is sele|
|000024e0| 63 74 65 64 20 66 6f 72 | 20 61 75 74 6f 2d 69 6e |cted for| auto-in|
|000024f0| 64 65 6e 74 2e 0d 0d 41 | 6c 73 6f 20 77 6f 72 74 |dent...A|lso wort|
|00002500| 68 20 6d 65 6e 74 69 6f | 6e 69 6e 67 20 69 73 20 |h mentio|ning is |
|00002510| 74 68 65 20 27 53 65 61 | 72 63 68 20 41 6c 6c 20 |the 'Sea|rch All |
|00002520| 57 69 6e 64 6f 77 73 27 | 20 69 6e 20 74 68 65 20 |Windows'| in the |
|00002530| 46 69 6e 64 20 61 6e 64 | 20 52 65 70 6c 61 63 65 |Find and| Replace|
|00002540| 20 6d 65 6e 75 73 3a 0d | 61 6c 6c 20 77 69 6e 64 | menus:.|all wind|
|00002550| 6f 77 73 20 77 69 6c 6c | 20 62 65 20 73 65 61 72 |ows will| be sear|
|00002560| 63 68 65 64 2c 20 69 6e | 20 66 72 6f 6e 74 2d 74 |ched, in| front-t|
|00002570| 6f 2d 62 61 63 6b 20 6f | 72 64 65 72 2c 20 75 6e |o-back o|rder, un|
|00002580| 74 69 6c 20 61 20 6d 61 | 74 63 68 20 69 73 20 66 |til a ma|tch is f|
|00002590| 6f 75 6e 64 2e 20 54 68 | 65 20 77 69 6e 64 6f 77 |ound. Th|e window|
|000025a0| 20 69 6e 20 77 68 69 63 | 68 20 74 68 65 20 6d 61 | in whic|h the ma|
|000025b0| 74 63 68 20 69 73 20 66 | 6f 75 6e 64 20 62 65 63 |tch is f|ound bec|
|000025c0| 6f 6d 65 73 20 74 68 65 | 20 66 72 6f 6e 74 20 77 |omes the| front w|
|000025d0| 69 6e 64 6f 77 2e 0d 48 | 6f 6c 64 69 6e 67 20 64 |indow..H|olding d|
|000025e0| 6f 77 6e 20 74 68 65 20 | 53 68 69 66 74 20 6b 65 |own the |Shift ke|
|000025f0| 79 20 77 68 65 6e 20 73 | 65 6c 65 63 74 69 6e 67 |y when s|electing|
|00002600| 20 66 69 6e 64 20 6f 72 | 20 72 65 70 6c 61 63 65 | find or| replace|
|00002610| 20 77 69 6c 6c 20 72 65 | 76 65 72 73 65 20 74 68 | will re|verse th|
|00002620| 65 20 73 65 61 72 63 68 | 20 64 69 72 65 63 74 69 |e search| directi|
|00002630| 6f 6e 2e 0d 0d 41 6e 20 | 6f 70 65 6e 20 64 69 61 |on...An |open dia|
|00002640| 6d 6f 6e 64 20 2d 20 d7 | 20 2d 20 61 70 70 65 61 |mond - .| - appea|
|00002650| 72 73 20 6f 70 70 6f 73 | 69 74 65 20 74 68 65 20 |rs oppos|ite the |
|00002660| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 63 75 72 72 |name of |the curr|
|00002670| 65 6e 74 20 66 72 6f 6e | 74 20 77 69 6e 64 6f 77 |ent fron|t window|
|00002680| 0d 69 6e 20 74 68 65 20 | 57 69 6e 64 6f 77 20 6d |.in the |Window m|
|00002690| 65 6e 75 2e 20 55 6e 64 | 65 72 6c 69 6e 69 6e 67 |enu. Und|erlining|
|000026a0| 20 69 6e 64 69 63 61 74 | 65 73 20 74 68 61 74 20 | indicat|es that |
|000026b0| 74 68 65 20 77 69 6e 64 | 6f 77 20 6e 65 65 64 73 |the wind|ow needs|
|000026c0| 20 74 6f 20 62 65 0d 73 | 61 76 65 64 20 28 65 69 | to be.s|aved (ei|
|000026d0| 74 68 65 72 20 69 74 27 | 73 20 62 65 65 6e 20 63 |ther it'|s been c|
|000026e0| 68 61 6e 67 65 64 2c 20 | 6f 72 20 69 74 20 77 61 |hanged, |or it wa|
|000026f0| 73 20 6e 65 76 65 72 20 | 73 61 76 65 64 20 62 65 |s never |saved be|
|00002700| 66 6f 72 65 29 2e 0d 0d | 54 68 65 20 27 44 69 73 |fore)...|The 'Dis|
|00002710| 70 6c 61 79 20 53 65 6c | 65 63 74 69 6f 6e 27 20 |play Sel|ection' |
|00002720| 6d 65 6e 75 20 77 69 6c | 6c 20 73 63 72 6f 6c 6c |menu wil|l scroll|
|00002730| 20 74 68 65 20 63 61 72 | 65 74 20 6f 72 20 74 68 | the car|et or th|
|00002740| 65 20 73 65 6c 65 63 74 | 65 64 20 74 65 78 74 20 |e select|ed text |
|00002750| 69 6e 74 6f 0d 76 69 65 | 77 2e 0d 0d 49 74 27 73 |into.vie|w...It's|
|00002760| 20 70 6f 73 73 69 62 6c | 65 20 74 68 61 74 20 4f | possibl|e that O|
|00002770| 70 65 6e 20 50 72 6f 6c | 6f 67 20 77 6f 6e 27 74 |pen Prol|og won't|
|00002780| 20 61 6c 6c 6f 77 20 79 | 6f 75 20 74 6f 20 6f 70 | allow y|ou to op|
|00002790| 65 6e 20 61 20 77 69 6e | 64 6f 77 20 62 65 63 61 |en a win|dow beca|
|000027a0| 75 73 65 20 69 74 20 68 | 61 73 6e 27 74 0d 65 6e |use it h|asn't.en|
|000027b0| 6f 75 67 68 20 6d 65 6d | 6f 72 79 2e 20 54 6f 20 |ough mem|ory. To |
|000027c0| 67 65 74 20 61 72 6f 75 | 6e 64 20 74 68 69 73 2c |get arou|nd this,|
|000027d0| 20 65 6e 74 65 72 20 74 | 68 65 20 62 75 69 6c 74 | enter t|he built|
|000027e0| 2d 69 6e 20 70 72 65 64 | 69 63 61 74 65 20 27 67 |-in pred|icate 'g|
|000027f0| 63 27 2e 0d 54 68 69 73 | 20 73 68 6f 75 6c 64 20 |c'..This| should |
|00002800| 66 72 65 65 20 75 70 20 | 73 6f 6d 65 20 73 70 61 |free up |some spa|
|00002810| 63 65 20 66 6f 72 20 6d | 6f 72 65 20 77 69 6e 64 |ce for m|ore wind|
|00002820| 6f 77 73 2e 0d 0d a1 20 | 57 69 6e 64 6f 77 20 43 |ows.... |Window C|
|00002830| 68 61 72 61 63 74 65 72 | 69 73 74 69 63 73 0d 57 |haracter|istics.W|
|00002840| 68 65 6e 20 77 69 6e 64 | 6f 77 73 20 61 72 65 20 |hen wind|ows are |
|00002850| 6f 70 65 6e 65 64 2c 20 | 74 68 65 79 20 61 72 65 |opened, |they are|
|00002860| 20 6f 70 65 6e 65 64 20 | 69 6e 20 74 68 65 20 73 | opened |in the s|
|00002870| 61 6d 65 20 6c 6f 63 61 | 74 69 6f 6e 20 28 61 73 |ame loca|tion (as|
|00002880| 73 75 6d 69 6e 67 0d 69 | 74 27 73 20 73 74 69 6c |suming.i|t's stil|
|00002890| 6c 20 76 69 73 69 62 6c | 65 29 2c 20 61 6e 64 20 |l visibl|e), and |
|000028a0| 77 69 74 68 20 74 68 65 | 20 73 61 6d 65 20 73 69 |with the| same si|
|000028b0| 7a 65 20 61 73 20 77 68 | 65 6e 20 74 68 65 79 20 |ze as wh|en they |
|000028c0| 77 65 72 65 20 6c 61 73 | 74 20 63 6c 6f 73 65 64 |were las|t closed|
|000028d0| 2e 0d 0d 4c 69 6b 65 77 | 69 73 65 2c 20 66 6f 6e |...Likew|ise, fon|
|000028e0| 74 2c 20 66 6f 6e 74 20 | 73 69 7a 65 20 61 6e 64 |t, font |size and|
|000028f0| 20 74 68 65 20 70 6f 73 | 69 74 69 6f 6e 20 6f 66 | the pos|ition of|
|00002900| 20 74 68 65 20 66 6c 61 | 73 68 69 6e 67 20 63 61 | the fla|shing ca|
|00002910| 72 65 74 20 6f 72 20 73 | 65 6c 65 63 74 69 6f 6e |ret or s|election|
|00002920| 0d 70 6f 69 6e 74 20 61 | 72 65 20 72 65 6d 65 6d |.point a|re remem|
|00002930| 62 65 72 65 64 20 66 72 | 6f 6d 20 77 68 65 6e 20 |bered fr|om when |
|00002940| 74 68 65 20 77 69 6e 64 | 6f 77 20 77 61 73 20 6c |the wind|ow was l|
|00002950| 61 73 74 20 75 73 65 64 | 2e 0d 0d 41 20 77 69 6e |ast used|...A win|
|00002960| 64 6f 77 27 73 20 6d 61 | 78 69 6d 75 6d 20 73 69 |dow's ma|ximum si|
|00002970| 7a 65 20 69 66 20 66 69 | 78 65 64 20 61 63 63 6f |ze if fi|xed acco|
|00002980| 72 64 69 6e 67 20 74 6f | 20 74 68 65 20 73 69 7a |rding to| the siz|
|00002990| 65 20 6f 66 20 74 68 65 | 0d 70 72 69 6e 74 61 62 |e of the|.printab|
|000029a0| 6c 65 20 70 61 67 65 20 | 69 6e 20 74 68 65 20 63 |le page |in the c|
|000029b0| 75 72 72 65 6e 74 6c 79 | 20 73 65 6c 65 63 74 65 |urrently| selecte|
|000029c0| 64 20 70 72 69 6e 74 65 | 72 2e 0d 0d 0d a1 20 4c |d printe|r..... L|
|000029d0| 6f 63 6b 65 64 20 46 69 | 6c 65 73 0d 49 66 20 61 |ocked Fi|les.If a|
|000029e0| 20 66 69 6c 65 20 69 73 | 20 6c 6f 63 6b 65 64 2c | file is| locked,|
|000029f0| 20 6f 72 20 69 74 73 20 | 76 6f 6c 75 6d 65 20 69 | or its |volume i|
|00002a00| 73 20 6c 6f 63 6b 65 64 | 20 6f 72 20 72 65 61 64 |s locked| or read|
|00002a10| 20 6f 6e 6c 79 2c 20 79 | 6f 75 20 63 61 6e 20 75 | only, y|ou can u|
|00002a20| 73 65 20 74 68 65 0d 77 | 69 6e 64 6f 77 20 61 73 |se the.w|indow as|
|00002a30| 20 6e 6f 72 6d 61 6c 2c | 20 62 75 74 20 79 6f 75 | normal,| but you|
|00002a40| 20 77 6f 6e 27 74 20 62 | 65 20 61 6c 6c 6f 77 65 | won't b|e allowe|
|00002a50| 64 20 74 6f 20 73 61 76 | 65 20 63 68 61 6e 67 65 |d to sav|e change|
|00002a60| 73 20 74 6f 20 74 68 61 | 74 20 66 69 6c 65 2e 0d |s to tha|t file..|
|00002a70| 4c 6f 63 6b 65 64 20 66 | 69 6c 65 73 20 68 61 76 |Locked f|iles hav|
|00002a80| 65 20 61 20 70 61 64 6c | 6f 63 6b 20 69 63 6f 6e |e a padl|ock icon|
|00002a90| 20 69 6e 20 74 68 65 69 | 72 20 77 69 6e 64 6f 77 | in thei|r window|
|00002aa0| 27 73 20 73 74 61 74 75 | 73 20 62 61 72 2e 0d 0d |'s statu|s bar...|
|00002ab0| d7 20 54 68 65 20 49 6e | 74 65 72 70 72 65 74 65 |. The In|terprete|
|00002ac0| 72 20 70 61 72 74 20 6f | 66 20 4f 70 65 6e 20 50 |r part o|f Open P|
|00002ad0| 72 6f 6c 6f 67 0d 0d 4d | 6f 73 74 20 6f 66 20 74 |rolog..M|ost of t|
|00002ae0| 68 65 20 74 72 61 6e 73 | 61 63 74 69 6f 6e 73 20 |he trans|actions |
|00002af0| 74 68 61 74 20 6f 63 63 | 75 72 20 62 65 74 77 65 |that occ|ur betwe|
|00002b00| 65 6e 20 79 6f 75 20 61 | 6e 64 20 74 68 65 20 4f |en you a|nd the O|
|00002b10| 70 65 6e 20 50 72 6f 6c | 6f 67 20 69 6e 74 65 72 |pen Prol|og inter|
|00002b20| 70 72 65 74 65 72 20 77 | 69 6c 6c 20 62 65 20 74 |preter w|ill be t|
|00002b30| 68 72 6f 75 67 68 20 61 | 20 77 69 6e 64 6f 77 2c |hrough a| window,|
|00002b40| 20 75 73 69 6e 67 20 74 | 68 65 20 54 65 78 74 20 | using t|he Text |
|00002b50| 45 64 69 74 6f 72 2e 0d | 0d 47 65 6e 65 72 61 6c |Editor..|.General|
|00002b60| 6c 79 2c 20 79 6f 75 20 | 69 73 73 75 65 20 63 6f |ly, you |issue co|
|00002b70| 6d 6d 61 6e 64 73 20 62 | 79 20 74 79 70 69 6e 67 |mmands b|y typing|
|00002b80| 20 74 68 65 6d 20 69 6e | 74 6f 20 61 20 77 69 6e | them in|to a win|
|00002b90| 64 6f 77 20 61 6e 64 20 | 74 68 65 6e 0d 6e 6f 74 |dow and |then.not|
|00002ba0| 69 66 79 69 6e 67 20 74 | 68 65 20 69 6e 74 65 72 |ifying t|he inter|
|00002bb0| 70 72 65 74 65 72 20 61 | 62 6f 75 74 20 74 68 65 |preter a|bout the|
|00002bc0| 6d 20 75 73 69 6e 67 20 | 74 68 65 20 45 4e 54 45 |m using |the ENTE|
|00002bd0| 52 20 6b 65 79 2e 0d 4f | 70 65 6e 20 50 72 6f 6c |R key..O|pen Prol|
|00002be0| 6f 67 20 77 72 69 74 65 | 73 20 72 65 70 6c 69 65 |og write|s replie|
|00002bf0| 73 20 69 6e 74 6f 20 74 | 68 65 20 73 61 6d 65 20 |s into t|he same |
|00002c00| 77 69 6e 64 6f 77 2e 0d | 0d 59 6f 75 20 63 61 6e |window..|.You can|
|00002c10| 20 75 73 65 20 61 6e 79 | 20 77 69 6e 64 6f 77 20 | use any| window |
|00002c20| 66 6f 72 20 73 65 6e 64 | 69 6e 67 20 63 6f 6d 6d |for send|ing comm|
|00002c30| 61 6e 64 73 20 61 6e 64 | 20 66 6f 72 20 67 65 74 |ands and| for get|
|00002c40| 74 69 6e 67 20 72 65 70 | 6c 69 65 73 2c 0d 62 75 |ting rep|lies,.bu|
|00002c50| 74 20 74 68 65 20 57 6f | 72 6b 73 68 65 65 74 20 |t the Wo|rksheet |
|00002c60| 77 69 6c 6c 20 62 65 20 | 63 68 6f 73 65 6e 20 62 |will be |chosen b|
|00002c70| 79 20 64 65 66 61 75 6c | 74 20 6f 72 20 69 66 20 |y defaul|t or if |
|00002c80| 61 6e 79 20 65 72 72 6f | 72 73 20 6f 63 63 75 72 |any erro|rs occur|
|00002c90| 0d 77 68 65 6e 20 75 73 | 69 6e 67 20 61 6e 6f 74 |.when us|ing anot|
|00002ca0| 68 65 72 20 77 69 6e 64 | 6f 77 2e 0d 0d 54 68 65 |her wind|ow...The|
|00002cb0| 20 57 6f 72 6b 73 68 65 | 65 74 20 63 61 6e 27 74 | Workshe|et can't|
|00002cc0| 20 62 65 20 63 6c 6f 73 | 65 64 2e 0d 0d d7 20 54 | be clos|ed.... T|
|00002cd0| 68 65 20 45 4e 54 45 52 | 20 4b 65 79 0d 57 68 69 |he ENTER| Key.Whi|
|00002ce0| 6c 65 20 79 6f 75 20 61 | 72 65 20 65 64 69 74 69 |le you a|re editi|
|00002cf0| 6e 67 20 74 65 78 74 2c | 20 74 68 65 20 50 72 6f |ng text,| the Pro|
|00002d00| 6c 6f 67 20 69 6e 74 65 | 72 70 72 65 74 65 72 20 |log inte|rpreter |
|00002d10| 69 73 20 64 69 73 63 6f | 6e 6e 65 63 74 65 64 20 |is disco|nnected |
|00002d20| 66 72 6f 6d 0d 77 68 61 | 74 20 79 6f 75 20 61 72 |from.wha|t you ar|
|00002d30| 65 20 64 6f 69 6e 67 20 | 2d 20 69 74 20 77 6f 6e |e doing |- it won|
|00002d40| 27 74 20 62 65 20 27 6c | 69 73 74 65 6e 69 6e 67 |'t be 'l|istening|
|00002d50| 27 2e 20 54 6f 20 67 65 | 74 20 69 74 73 20 61 74 |'. To ge|t its at|
|00002d60| 74 65 6e 74 69 6f 6e 2c | 20 79 6f 75 20 6e 65 65 |tention,| you nee|
|00002d70| 64 0d 74 6f 20 6e 6f 74 | 69 66 79 20 69 74 20 69 |d.to not|ify it i|
|00002d80| 6e 20 73 6f 6d 65 20 77 | 61 79 20 74 68 61 74 20 |n some w|ay that |
|00002d90| 77 68 61 74 20 79 6f 75 | 27 72 65 20 64 6f 69 6e |what you|'re doin|
|00002da0| 67 20 69 73 20 6e 6f 74 | 20 6a 75 73 74 20 74 65 |g is not| just te|
|00002db0| 78 74 20 65 64 69 74 69 | 6e 67 2e 0d 54 68 61 74 |xt editi|ng..That|
|00002dc0| 20 69 73 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e | is the |function|
|00002dd0| 20 6f 66 20 74 68 65 20 | 45 4e 54 45 52 20 6b 65 | of the |ENTER ke|
|00002de0| 79 3a 20 61 6c 6c 20 69 | 6e 70 75 74 20 66 72 6f |y: all i|nput fro|
|00002df0| 6d 20 74 68 65 20 74 65 | 78 74 20 65 64 69 74 6f |m the te|xt edito|
|00002e00| 72 20 74 6f 20 74 68 65 | 0d 50 72 6f 6c 6f 67 20 |r to the|.Prolog |
|00002e10| 69 6e 74 65 72 70 72 65 | 74 65 72 20 69 73 20 64 |interpre|ter is d|
|00002e20| 65 6e 6f 74 65 64 20 62 | 79 20 73 65 6c 65 63 74 |enoted b|y select|
|00002e30| 69 6e 67 20 74 68 65 20 | 74 65 78 74 20 61 6e 64 |ing the |text and|
|00002e40| 20 74 79 70 69 6e 67 20 | 74 68 65 20 45 4e 54 45 | typing |the ENTE|
|00002e50| 52 20 6b 65 79 2e 0d 28 | 54 68 69 73 20 69 73 20 |R key..(|This is |
|00002e60| 73 69 6d 69 6c 61 72 20 | 74 6f 20 74 68 65 20 61 |similar |to the a|
|00002e70| 72 72 61 6e 67 65 6d 65 | 6e 74 20 69 6e 20 41 70 |rrangeme|nt in Ap|
|00002e80| 70 6c 65 27 73 20 65 78 | 63 65 6c 6c 65 6e 74 20 |ple's ex|cellent |
|00002e90| 4d 50 57 29 2e 0d 0d 46 | 6f 72 20 65 78 61 6d 70 |MPW)...F|or examp|
|00002ea0| 6c 65 2c 20 62 65 6c 6f | 77 20 69 73 20 74 68 65 |le, belo|w is the|
|00002eb0| 20 74 65 78 74 20 6f 66 | 20 61 20 63 6f 6d 6d 61 | text of| a comma|
|00002ec0| 6e 64 20 74 6f 20 63 6f | 6e 73 75 6c 74 20 74 68 |nd to co|nsult th|
|00002ed0| 65 20 66 69 6c 65 20 27 | 62 65 6e 63 68 6d 61 72 |e file '|benchmar|
|00002ee0| 6b 73 27 2e 0d 54 6f 20 | 69 6e 70 75 74 20 69 74 |ks'..To |input it|
|00002ef0| 20 74 6f 20 74 68 65 20 | 69 6e 74 65 72 70 72 65 | to the |interpre|
|00002f00| 74 65 72 2c 20 20 73 65 | 6c 65 63 74 20 69 74 20 |ter, se|lect it |
|00002f10| 28 69 6e 63 6c 75 64 65 | 20 74 68 65 20 66 75 6c |(include| the ful|
|00002f20| 6c 20 73 74 6f 70 29 20 | 61 6e 64 0d 74 79 70 65 |l stop) |and.type|
|00002f30| 20 74 68 65 20 45 4e 54 | 45 52 20 6b 65 79 3a 0d | the ENT|ER key:.|
|00002f40| 0d 5b 62 65 6e 63 68 6d | 61 72 6b 73 5d 2e 0d 0d |.[benchm|arks]...|
|00002f50| 49 6e 20 70 72 61 63 74 | 69 63 65 2c 20 79 6f 75 |In pract|ice, you|
|00002f60| 20 64 6f 6e 27 74 20 61 | 6c 77 61 79 73 20 68 61 | don't a|lways ha|
|00002f70| 76 65 20 74 6f 20 73 65 | 6c 65 63 74 20 74 68 65 |ve to se|lect the|
|00002f80| 20 77 68 6f 6c 65 20 74 | 68 69 6e 67 20 2d 20 69 | whole t|hing - i|
|00002f90| 66 20 74 68 65 20 74 65 | 78 74 0d 6f 63 63 75 70 |f the te|xt.occup|
|00002fa0| 69 65 73 20 6f 6e 6c 79 | 20 6f 6e 65 20 6c 69 6e |ies only| one lin|
|00002fb0| 65 2c 20 70 6f 73 69 74 | 69 6f 6e 20 74 68 65 20 |e, posit|ion the |
|00002fc0| 63 61 72 65 74 20 61 6e | 79 77 68 65 72 65 20 61 |caret an|ywhere a|
|00002fd0| 6c 6f 6e 67 20 74 68 65 | 20 6c 69 6e 65 0d 61 6e |long the| line.an|
|00002fe0| 64 20 70 72 65 73 73 20 | 74 68 65 20 45 4e 54 45 |d press |the ENTE|
|00002ff0| 52 20 6b 65 79 2e 0d 54 | 68 65 20 77 68 6f 6c 65 |R key..T|he whole|
|00003000| 20 6c 69 6e 65 20 77 69 | 6c 6c 20 74 68 65 6e 20 | line wi|ll then |
|00003010| 62 65 20 74 61 6b 65 6e | 20 61 73 20 74 68 65 20 |be taken| as the |
|00003020| 74 65 78 74 2e 20 54 68 | 69 73 20 69 73 20 63 61 |text. Th|is is ca|
|00003030| 6c 6c 65 64 0d 27 73 69 | 6e 67 6c 65 20 6c 69 6e |lled.'si|ngle lin|
|00003040| 65 20 73 65 6c 65 63 74 | 69 6f 6e 27 2e 0d 0d 52 |e select|ion'...R|
|00003050| 65 6d 65 6d 62 65 72 20 | 61 6c 73 6f 20 74 68 61 |emember |also tha|
|00003060| 74 20 79 6f 75 20 6e 65 | 65 64 20 74 6f 20 75 73 |t you ne|ed to us|
|00003070| 65 20 74 68 65 20 45 4e | 54 45 52 20 6b 65 79 20 |e the EN|TER key |
|00003080| 74 6f 20 64 65 6e 6f 74 | 65 20 61 6c 6c 20 69 6e |to denot|e all in|
|00003090| 70 75 74 20 74 6f 20 74 | 68 65 0d 69 6e 74 65 72 |put to t|he.inter|
|000030a0| 70 72 65 74 65 72 2c 20 | 6e 6f 74 20 6a 75 73 74 |preter, |not just|
|000030b0| 20 63 6f 6d 6d 61 6e 64 | 20 69 6e 70 75 74 2e 20 | command| input. |
|000030c0| 46 6f 72 20 65 78 61 6d | 70 6c 65 2c 20 69 66 20 |For exam|ple, if |
|000030d0| 79 6f 75 72 20 70 72 6f | 67 72 61 6d 20 77 61 6e |your pro|gram wan|
|000030e0| 74 73 20 74 6f 0d 72 65 | 61 64 20 61 20 74 65 72 |ts to.re|ad a ter|
|000030f0| 6d 20 66 72 6f 6d 20 74 | 68 65 20 75 73 65 72 2c |m from t|he user,|
|00003100| 20 79 6f 75 20 6d 75 73 | 74 20 74 79 70 65 20 6f | you mus|t type o|
|00003110| 72 20 66 69 6e 64 20 74 | 68 65 20 74 65 78 74 2c |r find t|he text,|
|00003120| 20 73 65 6c 65 63 74 20 | 69 74 20 61 6c 6c 2c 0d | select |it all,.|
|00003130| 61 6e 64 20 70 72 65 73 | 73 20 74 68 65 20 45 4e |and pres|s the EN|
|00003140| 54 45 52 20 6b 65 79 20 | 74 6f 20 74 65 6c 6c 20 |TER key |to tell |
|00003150| 74 68 65 20 69 6e 74 65 | 72 70 72 65 74 65 72 20 |the inte|rpreter |
|00003160| 74 6f 20 74 61 6b 65 20 | 69 74 20 61 73 20 69 6e |to take |it as in|
|00003170| 70 75 74 2e 0d 0d 46 6f | 72 20 65 78 61 6d 70 6c |put...Fo|r exampl|
|00003180| 65 2c 20 74 72 79 20 65 | 76 61 6c 75 61 74 69 6e |e, try e|valuatin|
|00003190| 67 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |g the fo|llowing |
|000031a0| 71 75 65 72 79 20 62 79 | 20 73 69 6e 67 6c 65 2d |query by| single-|
|000031b0| 6c 69 6e 65 2d 73 65 6c | 65 63 74 69 6e 67 20 69 |line-sel|ecting i|
|000031c0| 74 2e 0d 59 6f 75 27 6c | 6c 20 6e 65 65 64 20 74 |t..You'l|l need t|
|000031d0| 6f 20 70 72 6f 76 69 64 | 65 20 61 20 66 75 72 74 |o provid|e a furt|
|000031e0| 68 65 72 20 69 6e 70 75 | 74 20 69 6e 20 72 65 73 |her inpu|t in res|
|000031f0| 70 6f 6e 73 65 3b 20 61 | 67 61 69 6e 2c 20 79 6f |ponse; a|gain, yo|
|00003200| 75 0d 63 61 6e 20 75 73 | 65 20 73 69 6e 67 6c 65 |u.can us|e single|
|00003210| 20 6c 69 6e 65 20 73 65 | 6c 65 63 74 69 6f 6e 2e | line se|lection.|
|00003220| 20 41 6c 73 6f 2c 20 72 | 65 6d 65 6d 62 65 72 20 | Also, r|emember |
|00003230| 74 68 65 20 66 75 6c 6c | 20 73 74 6f 70 20 61 66 |the full| stop af|
|00003240| 74 65 72 0d 74 68 65 20 | 74 65 72 6d 3a 0d 0d 77 |ter.the |term:..w|
|00003250| 72 69 74 65 28 27 50 6c | 65 61 73 65 20 65 6e 74 |rite('Pl|ease ent|
|00003260| 65 72 20 61 20 50 72 6f | 6c 6f 67 20 74 65 72 6d |er a Pro|log term|
|00003270| 3a 20 27 29 2c 72 65 61 | 64 28 54 65 72 6d 29 2c |: '),rea|d(Term),|
|00003280| 77 72 69 74 65 28 27 49 | 74 27 27 73 3a 20 27 29 |write('I|t''s: ')|
|00003290| 2c 77 72 69 74 65 28 54 | 65 72 6d 29 2e 0d 0d 41 |,write(T|erm)...A|
|000032a0| 73 20 69 73 20 6e 6f 72 | 6d 61 6c 20 6f 6e 20 44 |s is nor|mal on D|
|000032b0| 45 43 20 50 72 6f 6c 6f | 67 2c 20 77 68 65 72 65 |EC Prolo|g, where|
|000032c0| 20 76 61 72 69 61 62 6c | 65 20 62 69 6e 64 69 6e | variabl|e bindin|
|000032d0| 67 73 20 61 72 65 20 67 | 69 76 65 6e 20 61 73 20 |gs are g|iven as |
|000032e0| 70 61 72 74 0d 6f 66 20 | 74 68 65 20 72 65 73 75 |part.of |the resu|
|000032f0| 6c 74 20 6f 66 20 61 20 | 71 75 65 72 79 2c 20 74 |lt of a |query, t|
|00003300| 68 65 20 73 79 73 74 65 | 6d 20 77 61 69 74 73 20 |he syste|m waits |
|00003310| 66 6f 72 20 63 6f 6e 66 | 69 72 6d 61 74 69 6f 6e |for conf|irmation|
|00003320| 20 2d 20 74 79 70 65 20 | 74 68 65 0d 45 4e 54 45 | - type |the.ENTE|
|00003330| 52 20 6b 65 79 20 2d 20 | 6f 72 20 61 20 72 65 71 |R key - |or a req|
|00003340| 75 65 73 74 20 66 6f 72 | 20 61 20 72 65 74 72 79 |uest for| a retry|
|00003350| 20 2d 20 74 79 70 65 20 | 61 20 73 65 6d 69 63 6f | - type |a semico|
|00003360| 6c 6f 6e 20 61 6e 64 20 | 20 74 68 65 20 45 4e 54 |lon and | the ENT|
|00003370| 45 52 20 6b 65 79 2e 0d | 0d d7 20 50 72 6f 6d 70 |ER key..|.. Promp|
|00003380| 74 73 0d 54 68 65 20 73 | 74 61 6e 64 61 72 64 20 |ts.The s|tandard |
|00003390| 3f 2d 20 70 72 6f 6d 70 | 74 20 67 65 6e 65 72 61 |?- promp|t genera|
|000033a0| 6c 6c 79 20 61 70 70 65 | 61 72 73 20 6f 6e 20 74 |lly appe|ars on t|
|000033b0| 68 65 20 20 27 73 74 61 | 74 75 73 20 62 61 72 27 |he 'sta|tus bar'|
|000033c0| 0d 61 74 20 74 68 65 20 | 74 6f 70 20 6f 66 20 74 |.at the |top of t|
|000033d0| 68 65 20 66 72 6f 6e 74 | 20 77 69 6e 64 6f 77 2e |he front| window.|
|000033e0| 0d 49 66 20 79 6f 75 20 | 77 69 73 68 2c 20 79 6f |.If you |wish, yo|
|000033f0| 75 20 63 61 6e 20 65 6e | 74 65 72 20 61 20 71 75 |u can en|ter a qu|
|00003400| 65 72 79 20 70 72 65 63 | 65 64 65 64 20 62 79 20 |ery prec|eded by |
|00003410| 61 20 3f 2d 20 20 2d 20 | 69 74 20 77 6f 6e 27 74 |a ?- - |it won't|
|00003420| 20 6d 61 6b 65 20 61 6e | 79 0d 64 69 66 66 65 72 | make an|y.differ|
|00003430| 65 6e 63 65 2e 20 49 66 | 20 79 6f 75 20 70 72 65 |ence. If| you pre|
|00003440| 63 65 64 65 20 79 6f 75 | 72 20 71 75 65 72 79 20 |cede you|r query |
|00003450| 62 79 20 61 20 3a 2d 20 | 74 68 65 6e 20 69 74 20 |by a :- |then it |
|00003460| 77 69 6c 6c 20 62 65 20 | 70 65 72 66 6f 72 6d 65 |will be |performe|
|00003470| 64 0d 77 69 74 68 6f 75 | 74 20 72 65 74 75 72 6e |d.withou|t return|
|00003480| 69 6e 67 20 74 68 65 20 | 76 61 72 69 61 62 6c 65 |ing the |variable|
|00003490| 20 62 69 6e 64 69 6e 67 | 73 2e 0d 0d 45 78 61 6d | binding|s...Exam|
|000034a0| 70 6c 65 73 3a 0d 3a 2d | 20 77 72 69 74 65 28 48 |ples:.:-| write(H|
|000034b0| 29 2c 6e 6c 2e 0d 3f 2d | 20 77 72 69 74 65 28 47 |),nl..?-| write(G|
|000034c0| 29 2e 0d 0d d7 20 43 6f | 6d 6d 65 6e 74 20 6f 6e |).... Co|mment on|
|000034d0| 20 45 4e 54 45 52 20 26 | 20 50 72 6f 6d 70 74 73 | ENTER &| Prompts|
|000034e0| 0d 55 73 69 6e 67 20 74 | 68 65 20 45 4e 54 45 52 |.Using t|he ENTER|
|000034f0| 20 6b 65 79 20 74 6f 20 | 64 65 6e 6f 74 65 20 69 | key to |denote i|
|00003500| 6e 70 75 74 20 74 6f 20 | 74 68 65 20 69 6e 74 65 |nput to |the inte|
|00003510| 72 70 72 65 74 65 72 20 | 68 61 73 20 6d 61 6e 79 |rpreter |has many|
|00003520| 20 61 64 76 61 6e 74 61 | 67 65 73 2c 0d 61 6c 74 | advanta|ges,.alt|
|00003530| 68 6f 75 67 68 20 69 74 | 27 73 20 70 72 6f 62 61 |hough it|'s proba|
|00003540| 62 6c 79 20 61 20 62 69 | 74 20 61 6e 6e 6f 79 69 |bly a bi|t annoyi|
|00003550| 6e 67 20 74 6f 20 67 65 | 74 20 75 73 65 64 20 74 |ng to ge|t used t|
|00003560| 6f 2e 0d 54 68 65 20 70 | 72 69 6e 63 69 70 61 6c |o..The p|rincipal|
|00003570| 20 61 64 76 61 6e 74 61 | 67 65 20 69 73 20 74 68 | advanta|ge is th|
|00003580| 61 74 2c 20 73 69 6e 63 | 65 20 52 45 54 55 52 4e |at, sinc|e RETURN|
|00003590| 20 64 6f 65 73 20 6e 6f | 74 20 73 69 67 6e 69 66 | does no|t signif|
|000035a0| 79 20 61 20 63 6f 6d 6d | 61 6e 64 20 6f 72 20 61 |y a comm|and or a|
|000035b0| 6e 79 74 68 69 6e 67 20 | 73 70 65 63 69 61 6c 2c |nything |special,|
|000035c0| 20 79 6f 75 20 63 61 6e | 20 64 6f 20 73 74 61 6e | you can| do stan|
|000035d0| 64 61 72 64 20 74 65 78 | 74 20 65 64 69 74 69 6e |dard tex|t editin|
|000035e0| 67 20 66 72 65 65 6c 79 | 20 61 6e 64 20 79 6f 75 |g freely| and you|
|000035f0| 20 63 61 6e 20 75 73 65 | 20 61 6e 79 20 70 61 72 | can use| any par|
|00003600| 74 20 6f 66 20 74 68 65 | 20 57 6f 72 6b 73 68 65 |t of the| Workshe|
|00003610| 65 74 20 61 73 20 61 20 | 73 6f 75 72 63 65 20 6f |et as a |source o|
|00003620| 66 20 69 6e 70 75 74 2e | 0d 49 6e 20 6f 74 68 65 |f input.|.In othe|
|00003630| 72 20 77 6f 72 64 73 2c | 20 79 6f 75 20 63 61 6e |r words,| you can|
|00003640| 20 72 65 2d 75 73 65 20 | 74 65 78 74 20 6f 6e 20 | re-use |text on |
|00003650| 74 68 65 20 57 6f 72 6b | 73 68 65 65 74 20 6f 76 |the Work|sheet ov|
|00003660| 65 72 20 61 6e 64 20 6f | 76 65 72 2e 0d 28 53 6f |er and o|ver..(So|
|00003670| 6d 65 20 70 65 6f 70 6c | 65 20 68 61 76 65 20 63 |me peopl|e have c|
|00003680| 6f 6d 70 6c 61 69 6e 65 | 64 20 74 68 61 74 20 74 |omplaine|d that t|
|00003690| 68 65 72 65 20 69 73 6e | 27 74 20 61 6e 20 45 4e |here isn|'t an EN|
|000036a0| 54 45 52 20 6b 65 79 20 | 6f 66 20 74 68 65 69 72 |TER key |of their|
|000036b0| 0d 6d 61 63 68 69 6e 65 | 73 2e 20 49 6e 20 66 61 |.machine|s. In fa|
|000036c0| 63 74 2c 20 74 68 65 72 | 65 20 69 73 20 6f 6e 65 |ct, ther|e is one|
|000036d0| 20 6f 6e 20 65 76 65 72 | 79 20 6d 61 63 68 69 6e | on ever|y machin|
|000036e0| 65 2e 20 53 6f 6d 65 74 | 69 6d 65 73 20 69 74 20 |e. Somet|imes it |
|000036f0| 68 61 73 20 61 20 73 79 | 6d 62 6f 6c 0d 6c 69 6b |has a sy|mbol.lik|
|00003700| 65 20 61 6e 20 61 72 72 | 6f 77 68 65 61 64 20 70 |e an arr|owhead p|
|00003710| 6f 69 6e 74 69 6e 67 20 | 75 70 77 61 72 64 73 20 |ointing |upwards |
|00003720| 74 6f 20 6d 65 65 74 20 | 61 20 68 6f 72 69 7a 6f |to meet |a horizo|
|00003730| 6e 74 61 6c 20 6c 69 6e | 65 2e 0d 4f 6e 20 63 6f |ntal lin|e..On co|
|00003740| 6d 70 61 63 74 20 6b 65 | 79 62 6f 61 72 64 73 20 |mpact ke|yboards |
|00003750| 69 74 20 69 73 20 75 73 | 75 61 6c 6c 79 20 74 68 |it is us|ually th|
|00003760| 65 20 73 74 72 61 6e 67 | 65 20 6b 65 79 20 74 6f |e strang|e key to|
|00003770| 20 74 68 65 20 72 69 67 | 68 74 20 6f 66 20 74 68 | the rig|ht of th|
|00003780| 65 0d 73 70 61 63 65 20 | 62 61 72 2e 29 0d 0d d7 |e.space |bar.)...|
|00003790| 20 56 65 72 62 6f 73 65 | 20 61 6e 64 20 54 65 72 | Verbose| and Ter|
|000037a0| 73 65 20 41 6e 73 77 65 | 72 73 0d 4d 6f 73 74 20 |se Answe|rs.Most |
|000037b0| 50 72 6f 6c 6f 67 73 20 | 61 6e 73 77 65 72 20 61 |Prologs |answer a|
|000037c0| 20 71 75 65 72 79 20 77 | 69 74 68 20 61 20 27 79 | query w|ith a 'y|
|000037d0| 65 73 27 20 28 61 66 74 | 65 72 20 61 6e 79 20 76 |es' (aft|er any v|
|000037e0| 61 72 69 61 62 6c 65 20 | 62 69 6e 64 69 6e 67 73 |ariable |bindings|
|000037f0| 29 20 6f 72 20 61 20 27 | 6e 6f 27 20 64 65 70 65 |) or a '|no' depe|
|00003800| 6e 64 69 6e 67 20 6f 6e | 20 77 68 65 74 68 65 72 |nding on| whether|
|00003810| 20 74 68 65 20 71 75 65 | 72 79 20 63 61 6e 20 62 | the que|ry can b|
|00003820| 65 20 70 72 6f 76 65 64 | 20 6f 72 20 6e 6f 74 2e |e proved| or not.|
|00003830| 0d 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 64 65 66 |.Open Pr|olog def|
|00003840| 61 75 6c 74 73 20 74 6f | 20 74 68 69 73 20 62 65 |aults to| this be|
|00003850| 68 61 76 69 6f 75 72 20 | 61 6c 73 6f 20 2d 20 69 |haviour |also - i|
|00003860| 74 20 67 69 76 65 73 20 | 61 20 27 76 65 72 62 6f |t gives |a 'verbo|
|00003870| 73 65 27 20 61 6e 73 77 | 65 72 2e 0d 49 66 20 79 |se' answ|er..If y|
|00003880| 6f 75 20 77 69 73 68 2c | 20 79 6f 75 20 63 61 6e |ou wish,| you can|
|00003890| 20 73 75 70 70 72 65 73 | 73 20 74 68 65 20 6f 75 | suppres|s the ou|
|000038a0| 74 70 75 74 20 6f 66 20 | 27 79 65 73 27 20 61 6e |tput of |'yes' an|
|000038b0| 64 20 27 6e 6f 27 0d 62 | 79 20 63 68 61 6e 67 69 |d 'no'.b|y changi|
|000038c0| 6e 67 20 74 68 65 20 61 | 6e 73 77 65 72 69 6e 67 |ng the a|nswering|
|000038d0| 20 6d 6f 64 65 20 66 72 | 6f 6d 20 76 65 72 62 6f | mode fr|om verbo|
|000038e0| 73 65 20 74 6f 20 74 65 | 72 73 65 2e 20 54 68 65 |se to te|rse. The|
|000038f0| 20 62 75 69 6c 74 2d 69 | 6e 20 70 72 65 64 69 63 | built-i|n predic|
|00003900| 61 74 65 0d 74 6f 20 75 | 73 65 20 69 73 20 27 73 |ate.to u|se is 's|
|00003910| 79 73 74 65 6d 24 61 6e | 73 77 65 72 24 6d 6f 64 |ystem$an|swer$mod|
|00003920| 65 27 28 43 75 72 72 65 | 6e 74 41 6e 73 77 65 72 |e'(Curre|ntAnswer|
|00003930| 4d 6f 64 65 2c 4e 65 77 | 41 6e 73 77 65 72 4d 6f |Mode,New|AnswerMo|
|00003940| 64 65 29 2e 0d 41 6c 6c | 6f 77 65 64 20 61 72 67 |de)..All|owed arg|
|00003950| 75 6d 65 6e 74 73 20 61 | 72 65 20 27 74 65 72 73 |uments a|re 'ters|
|00003960| 65 27 20 6f 72 20 27 76 | 65 72 62 6f 73 65 27 2e |e' or 'v|erbose'.|
|00003970| 0d 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 65 |.The fol|lowing e|
|00003980| 78 61 6d 70 6c 65 20 64 | 65 74 65 72 6d 69 6e 65 |xample d|etermine|
|00003990| 73 20 74 68 65 20 63 75 | 72 72 65 6e 74 20 61 6e |s the cu|rrent an|
|000039a0| 73 77 65 72 69 6e 67 20 | 6d 6f 64 65 20 77 69 74 |swering |mode wit|
|000039b0| 68 6f 75 74 0d 63 68 61 | 6e 67 69 6e 67 20 69 74 |hout.cha|nging it|
|000039c0| 3a 0d 0d 27 73 79 73 74 | 65 6d 24 61 6e 73 77 65 |:..'syst|em$answe|
|000039d0| 72 24 6d 6f 64 65 27 28 | 53 74 61 74 65 2c 53 74 |r$mode'(|State,St|
|000039e0| 61 74 65 29 2e 0d 0d d7 | 20 53 79 6e 74 61 78 20 |ate)....| Syntax |
|000039f0| 45 72 72 6f 72 73 0d 57 | 68 65 6e 20 4f 70 65 6e |Errors.W|hen Open|
|00003a00| 20 50 72 6f 6c 6f 67 20 | 74 72 69 65 73 20 74 6f | Prolog |tries to|
|00003a10| 20 72 65 61 64 20 61 20 | 74 65 72 6d 20 2d 20 65 | read a |term - e|
|00003a20| 69 74 68 65 72 20 61 73 | 20 61 20 72 65 73 75 6c |ither as| a resul|
|00003a30| 74 20 6f 66 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |t of you|r progra|
|00003a40| 6d 2c 0d 6f 72 20 6f 66 | 20 62 75 69 6c 74 2d 69 |m,.or of| built-i|
|00003a50| 6e 20 70 72 65 64 69 63 | 61 74 65 73 20 6c 69 6b |n predic|ates lik|
|00003a60| 65 20 63 6f 6e 73 75 6c | 74 20 2d 20 69 66 20 69 |e consul|t - if i|
|00003a70| 74 20 64 65 74 65 63 74 | 73 20 61 6e 79 20 65 72 |t detect|s any er|
|00003a80| 72 6f 72 73 2c 20 69 74 | 20 77 69 6c 6c 20 74 72 |rors, it| will tr|
|00003a90| 79 20 74 6f 0d 6e 6f 74 | 69 66 79 20 79 6f 75 20 |y to.not|ify you |
|00003aa0| 69 6e 20 61 20 75 73 65 | 66 75 6c 20 77 61 79 2e |in a use|ful way.|
|00003ab0| 20 41 6e 20 65 72 72 6f | 72 20 6d 65 73 73 61 67 | An erro|r messag|
|00003ac0| 65 20 69 73 20 77 72 69 | 74 74 65 6e 20 74 6f 20 |e is wri|tten to |
|00003ad0| 74 68 65 20 6f 75 74 70 | 75 74 20 77 69 6e 64 6f |the outp|ut windo|
|00003ae0| 77 2e 0d 54 68 65 20 70 | 61 72 74 20 6f 66 20 74 |w..The p|art of t|
|00003af0| 68 65 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |he error| message|
|00003b00| 20 74 68 61 74 20 62 65 | 67 69 6e 73 3a 0d 3a 2d | that be|gins:.:-|
|00003b10| 20 27 53 68 6f 77 20 53 | 79 6e 74 61 78 20 45 72 | 'Show S|yntax Er|
|00003b20| 72 6f 72 27 28 c9 20 0d | 68 61 73 20 74 68 65 20 |ror'(. .|has the |
|00003b30| 66 6f 72 6d 20 6f 66 20 | 61 20 50 72 6f 6c 6f 67 |form of |a Prolog|
|00003b40| 20 63 6f 6d 6d 61 6e 64 | 2c 20 61 6e 64 20 63 61 | command|, and ca|
|00003b50| 6e 20 62 65 20 75 73 65 | 64 20 74 6f 20 63 61 6c |n be use|d to cal|
|00003b60| 6c 20 74 68 65 0d 27 53 | 68 6f 77 20 53 79 6e 74 |l the.'S|how Synt|
|00003b70| 61 78 20 45 72 72 6f 72 | 27 20 62 75 69 6c 74 2d |ax Error|' built-|
|00003b80| 69 6e 20 70 72 65 64 69 | 63 61 74 65 2c 0d 77 68 |in predi|cate,.wh|
|00003b90| 69 63 68 20 77 69 6c 6c | 20 74 72 79 20 74 6f 20 |ich will| try to |
|00003ba0| 6f 70 65 6e 20 74 68 65 | 20 66 69 6c 65 20 61 6e |open the| file an|
|00003bb0| 64 20 73 68 6f 77 20 79 | 6f 75 20 77 68 65 72 65 |d show y|ou where|
|00003bc0| 20 74 68 65 20 65 72 72 | 6f 72 20 77 61 73 2e 0d | the err|or was..|
|00003bd0| 59 6f 75 20 75 73 65 20 | 69 74 20 62 79 20 73 69 |You use |it by si|
|00003be0| 6e 67 6c 65 2d 6c 69 6e | 65 2d 73 65 6c 65 63 74 |ngle-lin|e-select|
|00003bf0| 69 6e 67 20 69 74 2e 0d | 54 72 79 20 69 74 20 62 |ing it..|Try it b|
|00003c00| 79 20 63 6f 6e 73 75 6c | 74 69 6e 67 20 74 68 65 |y consul|ting the|
|00003c10| 20 66 69 6c 65 20 27 62 | 75 67 67 79 20 73 79 6e | file 'b|uggy syn|
|00003c20| 74 61 78 27 20 77 68 69 | 63 68 20 68 61 73 20 61 |tax' whi|ch has a|
|00003c30| 20 0d 64 65 6c 69 62 65 | 72 61 74 65 20 65 72 72 | .delibe|rate err|
|00003c40| 6f 72 3a 0d 0d 5b 27 62 | 75 67 67 79 20 73 79 6e |or:..['b|uggy syn|
|00003c50| 74 61 78 27 5d 2e 0d 0d | 49 66 20 74 68 65 20 66 |tax']...|If the f|
|00003c60| 69 6c 65 20 69 73 20 74 | 6f 6f 20 62 69 67 20 74 |ile is t|oo big t|
|00003c70| 6f 20 6f 70 65 6e 20 61 | 73 20 61 20 77 69 6e 64 |o open a|s a wind|
|00003c80| 6f 77 20 28 67 72 65 61 | 74 65 72 20 74 68 61 6e |ow (grea|ter than|
|00003c90| 20 33 32 37 36 37 20 62 | 79 74 65 73 29 2c 20 74 | 32767 b|ytes), t|
|00003ca0| 68 65 20 63 61 6c 6c 20 | 77 69 6c 6c 20 66 61 69 |he call |will fai|
|00003cb0| 6c 2e 0d 0d d7 20 41 63 | 74 69 76 69 74 79 20 44 |l.... Ac|tivity D|
|00003cc0| 75 72 69 6e 67 20 45 76 | 61 6c 75 61 74 69 6f 6e |uring Ev|aluation|
|00003cd0| 0d 44 75 72 69 6e 67 20 | 61 20 6c 6f 6e 67 20 65 |.During |a long e|
|00003ce0| 76 61 6c 75 61 74 69 6f | 6e 2c 20 69 74 27 73 20 |valuatio|n, it's |
|00003cf0| 70 6f 73 73 69 62 6c 65 | 20 74 6f 20 75 73 65 20 |possible| to use |
|00003d00| 74 68 65 0d 74 65 78 74 | 20 65 64 69 74 6f 72 20 |the.text| editor |
|00003d10| 69 6e 20 77 69 6e 64 6f | 77 73 20 6f 74 68 65 72 |in windo|ws other|
|00003d20| 20 74 68 61 6e 20 74 68 | 65 20 63 75 72 72 65 6e | than th|e curren|
|00003d30| 74 20 6f 75 74 70 75 74 | 20 77 69 6e 64 6f 77 20 |t output| window |
|00003d40| 28 74 68 65 20 63 75 72 | 72 65 6e 74 0d 6f 75 74 |(the cur|rent.out|
|00003d50| 70 75 74 20 77 69 6e 64 | 6f 77 20 69 73 20 75 73 |put wind|ow is us|
|00003d60| 75 61 6c 6c 79 20 74 68 | 65 20 57 6f 72 6b 73 68 |ually th|e Worksh|
|00003d70| 65 65 74 29 2e 20 54 68 | 65 20 73 79 73 74 65 6d |eet). Th|e system|
|00003d80| 20 77 69 6c 6c 20 73 68 | 61 72 65 0d 74 68 65 20 | will sh|are.the |
|00003d90| 70 72 6f 63 65 73 73 6f | 72 20 62 65 74 77 65 65 |processo|r betwee|
|00003da0| 6e 20 74 68 65 20 69 6e | 74 65 72 70 72 65 74 65 |n the in|terprete|
|00003db0| 72 20 61 6e 64 20 74 68 | 65 20 74 65 78 74 20 65 |r and th|e text e|
|00003dc0| 64 69 74 6f 72 2e 0d 47 | 65 6e 65 72 61 6c 6c 79 |ditor..G|enerally|
|00003dd0| 2c 20 79 6f 75 20 77 6f | 6e 27 74 20 6e 6f 74 69 |, you wo|n't noti|
|00003de0| 63 65 20 74 68 65 20 73 | 68 61 72 69 6e 67 20 62 |ce the s|haring b|
|00003df0| 65 69 6e 67 20 64 6f 6e | 65 2e 0d 4f 63 63 61 73 |eing don|e..Occas|
|00003e00| 69 6f 6e 61 6c 6c 79 2c | 20 68 6f 77 65 76 65 72 |ionally,| however|
|00003e10| 2c 20 74 68 65 20 69 6e | 74 65 72 70 72 65 74 65 |, the in|terprete|
|00003e20| 72 20 77 69 6c 6c 20 6b | 65 65 70 20 74 68 65 20 |r will k|eep the |
|00003e30| 70 72 6f 63 65 73 73 6f | 72 0d 66 6f 72 20 61 20 |processo|r.for a |
|00003e40| 66 65 77 20 73 65 63 6f | 6e 64 73 20 74 6f 20 64 |few seco|nds to d|
|00003e50| 6f 20 67 61 72 62 61 67 | 65 20 63 6f 6c 6c 65 63 |o garbag|e collec|
|00003e60| 74 69 6f 6e 2c 20 6f 72 | 20 49 2f 4f 2e 0d 44 75 |tion, or| I/O..Du|
|00003e70| 72 69 6e 67 20 74 68 61 | 74 20 74 69 6d 65 20 74 |ring tha|t time t|
|00003e80| 68 65 20 74 65 78 74 20 | 65 64 69 74 6f 72 20 77 |he text |editor w|
|00003e90| 69 6c 6c 20 27 66 72 65 | 65 7a 65 27 20 61 6e 64 |ill 'fre|eze' and|
|00003ea0| 20 77 6f 6e 27 74 20 72 | 65 73 70 6f 6e 64 20 74 | won't r|espond t|
|00003eb0| 6f 0d 74 68 65 20 6b 65 | 79 62 6f 61 72 64 20 6f |o.the ke|yboard o|
|00003ec0| 72 20 6f 74 68 65 72 20 | 75 73 65 72 20 69 6e 70 |r other |user inp|
|00003ed0| 75 74 2e 0d 54 68 69 73 | 20 69 73 20 6e 6f 72 6d |ut..This| is norm|
|00003ee0| 61 6c 20 61 6e 64 20 69 | 73 20 6e 6f 20 63 61 75 |al and i|s no cau|
|00003ef0| 73 65 20 66 6f 72 20 63 | 6f 6e 63 65 72 6e 2e 0d |se for c|oncern..|
|00003f00| 0d 50 6c 65 61 73 65 20 | 62 65 20 63 61 72 65 66 |.Please |be caref|
|00003f10| 75 6c 20 74 6f 20 73 61 | 76 65 20 79 6f 75 72 20 |ul to sa|ve your |
|00003f20| 77 6f 72 6b 20 66 72 65 | 71 75 65 6e 74 6c 79 20 |work fre|quently |
|00003f30| 69 6e 20 74 68 69 73 20 | 6d 6f 64 65 2c 0d 62 65 |in this |mode,.be|
|00003f40| 63 61 75 73 65 20 69 66 | 20 74 68 65 20 65 76 61 |cause if| the eva|
|00003f50| 6c 75 61 74 69 6f 6e 20 | 63 61 75 73 65 73 20 4f |luation |causes O|
|00003f60| 70 65 6e 20 50 72 6f 6c | 6f 67 20 74 6f 20 63 72 |pen Prol|og to cr|
|00003f70| 61 73 68 2c 20 0d 79 6f | 75 72 20 77 6f 72 6b 20 |ash, .yo|ur work |
|00003f80| 6d 61 79 20 62 65 20 6c | 6f 73 74 2e 20 0d 0d d7 |may be l|ost. ...|
|00003f90| 20 53 74 6f 70 70 69 6e | 67 20 61 6e 20 45 76 61 | Stoppin|g an Eva|
|00003fa0| 6c 75 61 74 69 6f 6e 0d | 54 68 65 20 73 74 61 6e |luation.|The stan|
|00003fb0| 64 61 72 64 20 27 43 6f | 6d 6d 61 6e 64 2d 2e 27 |dard 'Co|mmand-.'|
|00003fc0| 20 77 69 6c 6c 20 68 61 | 6c 74 20 61 20 50 72 6f | will ha|lt a Pro|
|00003fd0| 6c 6f 67 20 65 76 61 6c | 75 61 74 69 6f 6e 2e 0d |log eval|uation..|
|00003fe0| 0d d7 20 42 61 63 6b 67 | 72 6f 75 6e 64 20 4f 70 |.. Backg|round Op|
|00003ff0| 65 72 61 74 69 6f 6e 0d | 4f 70 65 6e 20 50 72 6f |eration.|Open Pro|
|00004000| 6c 6f 67 20 69 73 20 4d | 75 6c 74 69 66 69 6e 64 |log is M|ultifind|
|00004010| 65 72 20 27 66 72 69 65 | 6e 64 6c 79 27 20 61 6e |er 'frie|ndly' an|
|00004020| 64 20 77 69 6c 6c 20 72 | 75 6e 20 69 6e 20 74 68 |d will r|un in th|
|00004030| 65 20 4d 75 6c 74 69 66 | 69 6e 64 65 72 20 0d 62 |e Multif|inder .b|
|00004040| 61 63 6b 67 72 6f 75 6e | 64 2e 20 54 68 69 73 20 |ackgroun|d. This |
|00004050| 6d 61 79 20 62 65 20 75 | 73 65 66 75 6c 20 66 6f |may be u|seful fo|
|00004060| 72 20 6c 6f 6e 67 20 65 | 76 61 6c 75 61 74 69 6f |r long e|valuatio|
|00004070| 6e 73 2e 20 52 75 6e 6e | 69 6e 67 20 75 6e 64 65 |ns. Runn|ing unde|
|00004080| 72 20 53 79 73 74 65 6d | 20 37 2c 0d 69 74 20 63 |r System| 7,.it c|
|00004090| 61 6e 20 62 65 20 68 69 | 64 64 65 6e 20 61 6e 64 |an be hi|dden and|
|000040a0| 20 73 74 69 6c 6c 20 62 | 65 20 72 75 6e 6e 69 6e | still b|e runnin|
|000040b0| 67 2e 0d 0d 0d d7 20 4f | 70 65 72 61 74 69 6f 6e |g..... O|peration|
|000040c0| 20 6f 6e 20 62 61 74 74 | 65 72 79 20 70 6f 77 65 | on batt|ery powe|
|000040d0| 72 65 64 20 4d 61 63 69 | 6e 74 6f 73 68 65 73 2e |red Maci|ntoshes.|
|000040e0| 0d 0d 4f 70 65 6e 20 50 | 72 6f 6c 6f 67 20 77 6f |..Open P|rolog wo|
|000040f0| 72 6b 73 20 66 69 6e 65 | 20 6f 6e 20 61 6c 6c 20 |rks fine| on all |
|00004100| 62 61 74 74 65 72 79 20 | 70 6f 77 65 72 65 64 20 |battery |powered |
|00004110| 4d 61 63 69 6e 74 6f 73 | 68 65 73 2e 0d 0d 4f 6e |Macintos|hes...On|
|00004120| 65 20 63 6f 6d 70 6c 69 | 63 61 74 69 6f 6e 20 72 |e compli|cation r|
|00004130| 65 67 61 72 64 69 6e 67 | 20 62 61 74 74 65 72 79 |egarding| battery|
|00004140| 20 70 6f 77 65 72 65 64 | 20 4d 61 63 73 20 69 73 | powered| Macs is|
|00004150| 20 74 68 61 74 0d 64 75 | 72 69 6e 67 20 70 65 72 | that.du|ring per|
|00004160| 69 6f 64 73 20 6f 66 20 | 6c 6f 6e 67 65 72 20 74 |iods of |longer t|
|00004170| 68 61 6e 20 61 62 6f 75 | 74 20 31 35 20 73 65 63 |han abou|t 15 sec|
|00004180| 6f 6e 64 73 20 77 69 74 | 68 6f 75 74 20 61 6e 79 |onds wit|hout any|
|00004190| 0d 75 73 65 72 20 69 6e | 74 65 72 61 63 74 69 6f |.user in|teractio|
|000041a0| 6e 20 6f 72 20 63 75 72 | 73 6f 72 20 61 6e 69 6d |n or cur|sor anim|
|000041b0| 61 74 69 6f 6e 2c 20 74 | 68 65 20 6d 61 63 68 69 |ation, t|he machi|
|000041c0| 6e 65 20 6d 61 79 20 67 | 6f 20 69 6e 74 6f 20 27 |ne may g|o into '|
|000041d0| 72 65 73 74 27 20 6d 6f | 64 65 2e 0d 49 6e 20 74 |rest' mo|de..In t|
|000041e0| 68 69 73 20 6d 6f 64 65 | 2c 20 62 61 74 74 65 72 |his mode|, batter|
|000041f0| 79 20 70 6f 77 65 72 20 | 69 73 20 63 6f 6e 73 65 |y power |is conse|
|00004200| 72 76 65 64 20 62 79 20 | 72 75 6e 6e 69 6e 67 20 |rved by |running |
|00004210| 61 62 6f 75 74 20 31 35 | 20 74 69 6d 65 73 20 73 |about 15| times s|
|00004220| 6c 6f 77 65 72 0d 74 68 | 61 6e 20 6e 6f 72 6d 61 |lower.th|an norma|
|00004230| 6c 2e 0d 0d 4f 70 65 6e | 20 50 72 6f 6c 6f 67 20 |l...Open| Prolog |
|00004240| 73 70 69 6e 73 20 61 20 | 63 75 72 73 6f 72 20 64 |spins a |cursor d|
|00004250| 75 72 69 6e 67 20 6c 6f | 6e 67 20 65 76 61 6c 75 |uring lo|ng evalu|
|00004260| 61 74 69 6f 6e 73 20 74 | 6f 20 70 72 65 76 65 6e |ations t|o preven|
|00004270| 74 20 72 65 73 74 69 6e | 67 2e 0d 48 6f 77 65 76 |t restin|g..Howev|
|00004280| 65 72 2c 20 69 66 20 79 | 6f 75 20 61 72 65 20 74 |er, if y|ou are t|
|00004290| 65 78 74 2d 65 64 69 74 | 69 6e 67 20 64 75 72 69 |ext-edit|ing duri|
|000042a0| 6e 67 20 61 6e 20 65 76 | 61 6c 75 61 74 69 6f 6e |ng an ev|aluation|
|000042b0| 2c 20 74 68 65 20 63 75 | 72 73 6f 72 20 77 69 6c |, the cu|rsor wil|
|000042c0| 6c 20 62 65 0d 74 68 65 | 20 49 2d 62 65 61 6d 2c |l be.the| I-beam,|
|000042d0| 20 61 6e 64 20 69 74 20 | 77 6f 6e 27 74 20 62 65 | and it |won't be|
|000042e0| 20 61 6e 69 6d 61 74 65 | 64 3b 20 69 66 20 79 6f | animate|d; if yo|
|000042f0| 75 20 73 74 6f 70 20 74 | 79 70 69 6e 67 20 6f 72 |u stop t|yping or|
|00004300| 20 6d 6f 76 69 6e 67 20 | 74 68 65 20 6d 6f 75 73 | moving |the mous|
|00004310| 65 0d 66 6f 72 20 6d 6f | 72 65 20 74 68 61 6e 20 |e.for mo|re than |
|00004320| 61 62 6f 75 74 20 31 35 | 20 73 65 63 6f 6e 64 73 |about 15| seconds|
|00004330| 2c 20 74 68 65 6e 20 74 | 68 65 20 6d 61 63 68 69 |, then t|he machi|
|00004340| 6e 65 20 77 69 6c 6c 20 | 72 65 73 74 2e 0d 0d d7 |ne will |rest....|
|00004350| 20 42 75 69 6c 74 2d 49 | 6e 20 50 72 65 64 69 63 | Built-I|n Predic|
|00004360| 61 74 65 73 0d 54 6f 20 | 67 65 74 20 61 20 6c 69 |ates.To |get a li|
|00004370| 73 74 20 6f 66 20 61 6c | 6c 20 70 72 65 64 69 63 |st of al|l predic|
|00004380| 61 74 65 73 20 2d 20 6e | 6f 72 6d 61 6c 2c 20 62 |ates - n|ormal, b|
|00004390| 75 69 6c 74 2d 69 6e 20 | 61 6e 64 20 65 78 74 65 |uilt-in |and exte|
|000043a0| 72 6e 61 6c 2c 0d 74 68 | 65 72 65 20 66 6f 6c 6c |rnal,.th|ere foll|
|000043b0| 6f 77 73 20 61 20 73 65 | 71 75 65 6e 63 65 20 6f |ows a se|quence o|
|000043c0| 66 20 63 6f 6d 6d 61 6e | 64 73 20 74 6f 20 70 65 |f comman|ds to pe|
|000043d0| 72 66 6f 72 6d 2e 0d 53 | 65 6c 65 63 74 20 74 68 |rform..S|elect th|
|000043e0| 65 6d 20 61 6c 6c 20 61 | 6e 64 20 68 69 74 20 74 |em all a|nd hit t|
|000043f0| 68 65 20 3c 45 4e 54 45 | 52 3e 20 6b 65 79 3a 0d |he <ENTE|R> key:.|
|00004400| 0d 27 73 79 73 74 65 6d | 24 70 72 65 64 69 63 61 |.'system|$predica|
|00004410| 74 65 27 28 58 2c 59 2c | 5a 29 2c 66 75 6e 63 74 |te'(X,Y,|Z),funct|
|00004420| 6f 72 28 59 2c 58 2c 41 | 29 2c 0d 77 72 69 74 65 |or(Y,X,A|),.write|
|00004430| 71 28 58 29 2c 77 72 69 | 74 65 28 27 2f 27 29 2c |q(X),wri|te('/'),|
|00004440| 77 72 69 74 65 28 41 29 | 2c 77 72 69 74 65 28 2e |write(A)|,write(.|
|00004450| 29 2c 77 72 69 74 65 28 | 27 20 20 20 25 20 27 29 |),write(|' % ')|
|00004460| 2c 77 72 69 74 65 28 5a | 29 2c 6e 6c 2c 66 61 69 |,write(Z|),nl,fai|
|00004470| 6c 2e 0d 0d 4e 6f 74 65 | 3a 20 77 69 74 68 20 61 |l...Note|: with a|
|00004480| 20 66 65 77 20 65 78 63 | 65 70 74 69 6f 6e 73 2c | few exc|eptions,|
|00004490| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 73 74 61 79 | you sho|uld stay|
|000044a0| 20 61 77 61 79 20 66 72 | 6f 6d 0d 61 6e 79 74 68 | away fr|om.anyth|
|000044b0| 69 6e 67 20 77 69 74 68 | 20 61 20 24 20 69 6e 20 |ing with| a $ in |
|000044c0| 69 74 2c 20 6f 72 20 61 | 6e 79 74 68 69 6e 67 20 |it, or a|nything |
|000044d0| 77 69 74 68 20 74 68 65 | 20 77 6f 72 64 20 27 73 |with the| word 's|
|000044e0| 79 73 74 65 6d 27 20 69 | 6e 20 69 74 20 2d 20 79 |ystem' i|n it - y|
|000044f0| 6f 75 0d 6d 61 79 20 65 | 6e 64 20 75 70 20 63 72 |ou.may e|nd up cr|
|00004500| 61 73 68 69 6e 67 20 74 | 68 65 20 70 72 6f 67 72 |ashing t|he progr|
|00004510| 61 6d 2e 0d 0d 54 68 65 | 20 66 69 6c 65 20 27 4f |am...The| file 'O|
|00004520| 70 65 6e 20 50 72 6f 6c | 6f 67 20 45 78 74 72 61 |pen Prol|og Extra|
|00004530| 73 27 20 68 61 73 20 6d | 6f 72 65 20 69 6e 66 6f |s' has m|ore info|
|00004540| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 73 6f |rmation |about so|
|00004550| 6d 65 20 6f 66 0d 74 68 | 65 20 6e 6f 6e 2d 73 74 |me of.th|e non-st|
|00004560| 61 6e 64 61 72 64 20 70 | 72 65 64 69 63 61 74 65 |andard p|redicate|
|00004570| 73 2e 0d 0d d7 20 52 65 | 64 65 66 69 6e 69 6e 67 |s.... Re|defining|
|00004580| 20 42 75 69 6c 74 2d 49 | 6e 20 50 72 65 64 69 63 | Built-I|n Predic|
|00004590| 61 74 65 73 0d 4f 70 65 | 6e 20 50 72 6f 6c 6f 67 |ates.Ope|n Prolog|
|000045a0| 20 63 6f 6d 70 6c 61 69 | 6e 73 20 69 66 20 79 6f | complai|ns if yo|
|000045b0| 75 20 74 72 79 20 74 6f | 20 72 65 64 65 66 69 6e |u try to| redefin|
|000045c0| 65 20 61 6e 79 20 62 75 | 69 6c 74 2d 69 6e 73 20 |e any bu|ilt-ins |
|000045d0| 6f 72 20 65 78 74 65 72 | 6e 61 6c 73 2e 0d 0d d7 |or exter|nals....|
|000045e0| 20 41 72 69 74 68 6d 65 | 74 69 63 0d 41 72 69 74 | Arithme|tic.Arit|
|000045f0| 68 6d 65 74 69 63 20 69 | 73 20 73 74 61 6e 64 61 |hmetic i|s standa|
|00004600| 72 64 20 33 32 2d 62 69 | 74 20 69 6e 74 65 67 65 |rd 32-bi|t intege|
|00004610| 72 20 61 72 69 74 68 6d | 65 74 69 63 2e 20 54 68 |r arithm|etic. Th|
|00004620| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 0d 70 72 65 64 |e follow|ing.pred|
|00004630| 65 66 69 6e 65 64 20 66 | 75 6e 63 74 69 6f 6e 73 |efined f|unctions|
|00004640| 20 61 72 65 20 70 72 6f | 76 69 64 65 64 3a 0d 75 | are pro|vided:.u|
|00004650| 6e 61 72 79 20 6d 69 6e | 75 73 3a 20 2d 20 0d 73 |nary min|us: - .s|
|00004660| 75 62 74 72 61 63 74 69 | 6f 6e 3a 20 2d 20 0d 61 |ubtracti|on: - .a|
|00004670| 64 64 69 74 69 6f 6e 3a | 20 2b 0d 6d 75 6c 74 69 |ddition:| +.multi|
|00004680| 70 6c 69 63 61 74 69 6f | 6e 3a 20 2a 0d 69 6e 74 |plicatio|n: *.int|
|00004690| 65 67 65 72 20 64 69 76 | 69 73 69 6f 6e 3a 20 2f |eger div|ision: /|
|000046a0| 20 28 61 6c 73 6f 20 2f | 2f 29 0d 6d 6f 64 20 28 | (also /|/).mod (|
|000046b0| 72 65 6d 61 69 6e 64 65 | 72 29 3a 20 6d 6f 64 0d |remainde|r): mod.|
|000046c0| 61 62 73 6f 6c 75 74 65 | 20 76 61 6c 75 65 3a 20 |absolute| value: |
|000046d0| 61 62 73 0d 62 69 74 77 | 69 73 65 20 61 6e 64 3a |abs.bitw|ise and:|
|000046e0| 20 2f 5c 0d 62 69 74 77 | 69 73 65 20 6f 72 3a 20 | /\.bitw|ise or: |
|000046f0| 5c 2f 0d 62 69 74 77 69 | 73 65 20 6e 6f 74 3a 20 |\/.bitwi|se not: |
|00004700| 7e 20 28 61 6c 73 6f 20 | 5c 29 0d 62 69 74 77 69 |~ (also |\).bitwi|
|00004710| 73 65 20 6c 65 66 74 73 | 68 69 66 74 3a 20 3c 3c |se lefts|hift: <<|
|00004720| 0d 62 69 74 77 69 73 65 | 20 72 69 67 68 74 73 68 |.bitwise| rightsh|
|00004730| 69 66 74 3a 20 3e 3e 0d | 6d 61 78 69 6d 75 6d 20 |ift: >>.|maximum |
|00004740| 69 6e 74 65 67 65 72 3a | 20 20 6d 61 78 69 6e 74 |integer:| maxint|
|00004750| 0d 6d 69 6e 69 6d 75 6d | 20 69 6e 74 65 67 65 72 |.minimum| integer|
|00004760| 3a 20 6d 69 6e 69 6e 74 | 0d 74 69 6d 65 3a 20 20 |: minint|.time: |
|00004770| 63 70 75 74 69 6d 65 0d | 54 68 65 20 66 75 6e 63 |cputime.|The func|
|00004780| 74 69 6f 6e 20 27 63 70 | 75 74 69 6d 65 27 20 67 |tion 'cp|utime' g|
|00004790| 69 76 65 73 20 74 68 65 | 20 74 69 6d 65 20 69 6e |ives the| time in|
|000047a0| 20 6d 69 6c 6c 69 73 65 | 63 6f 6e 64 73 20 73 69 | millise|conds si|
|000047b0| 6e 63 65 20 73 79 73 74 | 65 6d 20 73 74 61 72 74 |nce syst|em start|
|000047c0| 75 70 0d 77 69 74 68 20 | 61 20 73 68 6f 72 74 2d |up.with |a short-|
|000047d0| 74 65 72 6d 20 67 72 61 | 6e 75 6c 61 72 69 74 79 |term gra|nularity|
|000047e0| 20 6f 66 20 61 70 70 72 | 6f 78 69 6d 61 74 65 6c | of appr|oximatel|
|000047f0| 79 20 31 36 20 6d 53 20 | 28 6f 6e 65 20 73 79 73 |y 16 mS |(one sys|
|00004800| 74 65 6d 20 27 74 69 63 | 6b 27 29 2e 0d 55 73 65 |tem 'tic|k')..Use|
|00004810| 20 74 68 65 20 62 75 69 | 6c 74 2d 69 6e 20 70 72 | the bui|lt-in pr|
|00004820| 6f 63 65 64 75 72 65 20 | 27 73 79 73 74 65 6d 24 |ocedure |'system$|
|00004830| 73 65 63 6f 6e 64 73 27 | 28 53 65 63 6f 6e 64 73 |seconds'|(Seconds|
|00004840| 29 20 66 6f 72 20 6d 6f | 72 65 0d 61 63 63 75 72 |) for mo|re.accur|
|00004850| 61 74 65 20 74 69 6d 69 | 6e 67 20 6f 66 20 6c 6f |ate timi|ng of lo|
|00004860| 6e 67 20 69 6e 74 65 72 | 76 61 6c 73 2e 0d 0d d7 |ng inter|vals....|
|00004870| 20 4f 70 65 72 61 74 6f | 72 73 0d 54 68 65 20 73 | Operato|rs.The s|
|00004880| 74 61 6e 64 61 72 64 20 | 44 45 43 20 50 72 6f 6c |tandard |DEC Prol|
|00004890| 6f 67 20 6f 70 65 72 61 | 74 6f 72 20 64 65 66 69 |og opera|tor defi|
|000048a0| 6e 69 74 69 6f 6e 73 20 | 61 72 65 20 6d 61 64 65 |nitions |are made|
|000048b0| 20 61 74 20 73 74 61 72 | 74 75 70 2e 0d 59 6f 75 | at star|tup..You|
|000048c0| 20 63 61 6e 20 67 65 74 | 20 61 20 6c 69 73 74 20 | can get| a list |
|000048d0| 6f 66 20 6f 70 65 72 61 | 74 6f 72 20 64 65 66 69 |of opera|tor defi|
|000048e0| 6e 69 74 69 6f 6e 73 20 | 62 79 20 65 76 61 6c 75 |nitions |by evalu|
|000048f0| 61 74 69 6e 67 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |ating th|e follow|
|00004900| 69 6e 67 20 71 75 65 72 | 79 2e 0d 0d 62 61 67 6f |ing quer|y...bago|
|00004910| 66 28 4e 2c 63 75 72 72 | 65 6e 74 5f 6f 70 28 50 |f(N,curr|ent_op(P|
|00004920| 2c 4b 2c 4e 29 2c 4c 29 | 2c 77 72 69 74 65 71 28 |,K,N),L)|,writeq(|
|00004930| 28 63 75 72 72 65 6e 74 | 5f 6f 70 28 50 2c 4b 2c |(current|_op(P,K,|
|00004940| 4c 29 29 29 2c 77 72 69 | 74 65 28 27 2e 27 29 2c |L))),wri|te('.'),|
|00004950| 6e 6c 2c 66 61 69 6c 2e | 0d 0d d7 20 45 78 74 65 |nl,fail.|... Exte|
|00004960| 6e 64 65 64 20 43 68 61 | 72 61 63 74 65 72 20 53 |nded Cha|racter S|
|00004970| 65 74 0d 54 68 65 20 66 | 75 6c 6c 20 6c 61 73 65 |et.The f|ull lase|
|00004980| 72 2d 70 72 69 6e 74 65 | 72 20 63 68 61 72 61 63 |r-printe|r charac|
|00004990| 74 65 72 20 73 65 74 20 | 28 65 2e 67 2e 20 54 69 |ter set |(e.g. Ti|
|000049a0| 6d 65 73 29 2c 20 77 68 | 69 63 68 20 68 61 73 20 |mes), wh|ich has |
|000049b0| 6d 6f 72 65 0d 63 68 61 | 72 61 63 74 65 72 73 20 |more.cha|racters |
|000049c0| 74 68 61 6e 20 74 68 65 | 20 6f 72 69 67 69 6e 61 |than the| origina|
|000049d0| 6c 20 73 74 61 6e 64 61 | 72 64 20 63 68 61 72 61 |l standa|rd chara|
|000049e0| 63 74 65 72 20 73 65 74 | 73 20 6c 69 6b 65 20 43 |cter set|s like C|
|000049f0| 68 69 63 61 67 6f 2c 0d | 69 73 20 61 73 73 75 6d |hicago,.|is assum|
|00004a00| 65 64 20 68 65 72 65 2e | 0d 0d 41 63 63 65 6e 74 |ed here.|..Accent|
|00004a10| 65 64 20 63 68 61 72 61 | 63 74 65 72 73 20 61 72 |ed chara|cters ar|
|00004a20| 65 20 74 72 65 61 74 65 | 64 20 61 73 20 61 6c 70 |e treate|d as alp|
|00004a30| 68 61 62 65 74 69 63 2c | 20 73 6f 20 61 74 6f 6d |habetic,| so atom|
|00004a40| 73 20 63 6f 6e 74 61 69 | 6e 69 6e 67 0d 61 63 63 |s contai|ning.acc|
|00004a50| 65 6e 74 65 64 20 63 68 | 61 72 61 63 74 65 72 73 |ented ch|aracters|
|00004a60| 20 64 6f 6e 27 74 20 6e | 65 65 64 20 74 6f 20 62 | don't n|eed to b|
|00004a70| 65 20 70 75 74 20 69 6e | 20 71 75 6f 74 65 73 2e |e put in| quotes.|
|00004a80| 0d 0d 54 68 75 73 20 74 | 68 65 20 66 6f 6c 6c 6f |..Thus t|he follo|
|00004a90| 77 69 6e 67 20 69 73 20 | 6c 65 67 61 6c 3a 0d 0d |wing is |legal:..|
|00004aa0| 58 8a 76 69 65 72 20 3d | 20 6e 97 69 72 92 6e 2b |X.vier =| n.ir.n+|
|00004ab0| 6a 9f 72 67 65 6e 2b 83 | 63 6f 6c 65 2b 67 72 8f |j.rgen+.|cole+gr.|
|00004ac0| 76 65 2b 64 61 9b 2b 8d | 65 64 69 6c 6c 61 2b 66 |ve+da.+.|edilla+f|
|00004ad0| 6f 72 90 74 2e 0d 0d d7 | 20 53 6f 72 74 69 6e 67 |or.t....| Sorting|
|00004ae0| 0d 53 6f 72 74 69 6e 67 | 20 69 73 20 70 65 72 66 |.Sorting| is perf|
|00004af0| 6f 72 6d 65 64 20 62 79 | 20 74 68 65 20 4d 61 63 |ormed by| the Mac|
|00004b00| 27 73 20 49 6e 74 65 72 | 6e 61 74 69 6f 6e 61 6c |'s Inter|national|
|00004b10| 20 55 74 69 6c 69 74 69 | 65 73 2c 20 77 68 69 63 | Utiliti|es, whic|
|00004b20| 68 0d 73 68 6f 75 6c 64 | 20 68 61 6e 64 6c 65 20 |h.should| handle |
|00004b30| 61 63 63 65 6e 74 65 64 | 20 63 68 61 72 61 63 74 |accented| charact|
|00004b40| 65 72 73 20 63 6f 72 72 | 65 63 74 6c 79 2e 0d 0d |ers corr|ectly...|
|00004b50| 4e 61 6d 65 73 20 61 72 | 65 20 73 6f 72 74 65 64 |Names ar|e sorted|
|00004b60| 20 6c 65 78 69 63 61 6c | 6c 79 2e 20 50 72 69 6d | lexical|ly. Prim|
|00004b70| 61 72 79 20 6f 72 64 65 | 72 69 6e 67 20 6f 66 20 |ary orde|ring of |
|00004b80| 6e 61 6d 65 73 20 69 67 | 6e 6f 72 65 73 20 63 61 |names ig|nores ca|
|00004b90| 73 65 20 61 6e 64 20 61 | 63 63 65 6e 74 0d 69 6e |se and a|ccent.in|
|00004ba0| 66 6f 72 6d 61 74 69 6f | 6e 3b 20 63 61 73 65 20 |formatio|n; case |
|00004bb0| 61 6e 64 20 61 63 63 65 | 6e 74 20 64 61 74 61 20 |and acce|nt data |
|00004bc0| 69 73 20 75 73 65 64 20 | 74 6f 20 6f 72 64 65 72 |is used |to order|
|00004bd0| 20 6e 61 6d 65 73 20 74 | 68 61 74 20 61 72 65 0d | names t|hat are.|
|00004be0| 69 64 65 6e 74 69 63 61 | 6c 20 75 6e 64 65 72 20 |identica|l under |
|00004bf0| 70 72 69 6d 61 72 79 20 | 6f 72 64 65 72 69 6e 67 |primary |ordering|
|00004c00| 2e 0d 0d d7 20 46 69 6c | 65 73 0d 54 68 65 20 66 |.... Fil|es.The f|
|00004c10| 69 6c 65 2d 68 61 6e 64 | 6c 69 6e 67 20 61 72 72 |ile-hand|ling arr|
|00004c20| 61 6e 67 65 6d 65 6e 74 | 73 20 61 72 65 20 65 73 |angement|s are es|
|00004c30| 73 65 6e 74 69 61 6c 6c | 79 20 75 6e 63 68 61 6e |sentiall|y unchan|
|00004c40| 67 65 64 20 66 72 6f 6d | 20 44 45 43 20 50 72 6f |ged from| DEC Pro|
|00004c50| 6c 6f 67 2c 0d 65 78 63 | 65 70 74 20 77 68 65 72 |log,.exc|ept wher|
|00004c60| 65 20 6f 62 76 69 6f 75 | 73 6c 79 20 6e 65 63 65 |e obviou|sly nece|
|00004c70| 73 73 61 72 79 2c 20 62 | 75 74 20 70 6c 65 61 73 |ssary, b|ut pleas|
|00004c80| 65 20 73 65 65 20 74 68 | 65 20 52 65 6c 65 61 73 |e see th|e Releas|
|00004c90| 65 20 4e 6f 74 65 73 20 | 66 6f 72 20 31 2e 30 2e |e Notes |for 1.0.|
|00004ca0| 32 20 66 6f 72 20 61 20 | 64 69 73 63 75 73 73 69 |2 for a |discussi|
|00004cb0| 6f 6e 20 6f 66 20 6e 65 | 77 20 66 69 6c 65 2d 68 |on of ne|w file-h|
|00004cc0| 61 6e 64 6c 69 6e 67 20 | 70 72 65 64 69 63 61 74 |andling |predicat|
|00004cd0| 65 73 2e 0d 0d d7 20 46 | 69 6c 65 20 4e 61 6d 69 |es.... F|ile Nami|
|00004ce0| 6e 67 0d 46 69 6c 65 20 | 6e 61 6d 69 6e 67 20 66 |ng.File |naming f|
|00004cf0| 6f 6c 6c 6f 77 73 20 73 | 74 61 6e 64 61 72 64 20 |ollows s|tandard |
|00004d00| 4d 61 63 69 6e 74 6f 73 | 68 20 70 72 61 63 74 69 |Macintos|h practi|
|00004d10| 63 65 2e 20 54 6f 20 73 | 70 65 63 69 66 79 20 61 |ce. To s|pecify a|
|00004d20| 20 66 69 6c 65 20 69 6e | 20 74 68 65 0d 68 6f 6d | file in| the.hom|
|00004d30| 65 20 66 6f 6c 64 65 72 | 2c 20 6a 75 73 74 20 67 |e folder|, just g|
|00004d40| 69 76 65 20 69 74 73 20 | 6e 61 6d 65 20 28 61 73 |ive its |name (as|
|00004d50| 20 27 62 65 6e 63 68 6d | 61 72 6b 73 27 20 61 62 | 'benchm|arks' ab|
|00004d60| 6f 76 65 29 2e 0d 0d 49 | 66 20 69 74 27 73 20 69 |ove)...I|f it's i|
|00004d70| 6e 20 61 6e 6f 74 68 65 | 72 20 66 6f 6c 64 65 72 |n anothe|r folder|
|00004d80| 2c 20 79 6f 75 20 63 61 | 6e 20 67 69 76 65 20 69 |, you ca|n give i|
|00004d90| 74 73 20 66 75 6c 6c 20 | 70 61 74 68 6e 61 6d 65 |ts full |pathname|
|00004da0| 2e 20 46 6f 72 20 65 78 | 61 6d 70 6c 65 2c 20 74 |. For ex|ample, t|
|00004db0| 6f 20 0d 63 6f 6e 73 75 | 6c 74 20 61 20 66 69 6c |o .consu|lt a fil|
|00004dc0| 65 20 63 61 6c 6c 65 64 | 20 27 55 74 69 6c 69 74 |e called| 'Utilit|
|00004dd0| 69 65 73 27 20 6f 6e 20 | 61 20 64 69 73 6b 20 6f |ies' on |a disk o|
|00004de0| 72 20 76 6f 6c 75 6d 65 | 20 63 61 6c 6c 65 64 20 |r volume| called |
|00004df0| 27 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 44 69 73 |'Open Pr|olog Dis|
|00004e00| 6b 27 0d 69 6e 20 61 20 | 66 6f 6c 64 65 72 20 63 |k'.in a |folder c|
|00004e10| 61 6c 6c 65 64 20 27 53 | 61 6d 70 6c 65 73 27 20 |alled 'S|amples' |
|00004e20| 79 6f 75 20 63 6f 75 6c | 64 20 75 73 65 3a 0d 0d |you coul|d use:..|
|00004e30| 5b 27 4f 70 65 6e 20 50 | 72 6f 6c 6f 67 20 44 69 |['Open P|rolog Di|
|00004e40| 73 6b 3a 53 61 6d 70 6c | 65 73 3a 55 74 69 6c 69 |sk:Sampl|es:Utili|
|00004e50| 74 69 65 73 27 5d 2e 0d | 0d 41 6c 74 65 72 6e 61 |ties']..|.Alterna|
|00004e60| 74 69 76 65 6c 79 2c 20 | 79 6f 75 20 63 61 6e 20 |tively, |you can |
|00004e70| 73 70 65 63 69 66 79 20 | 61 20 66 69 6c 65 20 62 |specify |a file b|
|00004e80| 79 20 69 74 73 20 70 61 | 72 74 69 61 6c 20 70 61 |y its pa|rtial pa|
|00004e90| 74 68 6e 61 6d 65 20 28 | 69 2e 65 2e 20 74 68 65 |thname (|i.e. the|
|00004ea0| 0d 65 78 74 72 61 20 69 | 6e 66 6f 72 6d 61 74 69 |.extra i|nformati|
|00004eb0| 6f 6e 20 6e 65 65 64 65 | 64 20 74 6f 20 27 67 65 |on neede|d to 'ge|
|00004ec0| 74 20 66 72 6f 6d 27 20 | 74 68 65 20 48 6f 6d 65 |t from' |the Home|
|00004ed0| 20 46 6f 6c 64 65 72 20 | 74 6f 20 74 68 65 72 65 | Folder |to there|
|00004ee0| 29 2e 0d 46 6f 72 20 69 | 6e 73 74 61 6e 63 65 2c |)..For i|nstance,|
|00004ef0| 20 6f 6e 20 74 68 69 73 | 20 64 69 73 74 72 69 62 | on this| distrib|
|00004f00| 75 74 69 6f 6e 20 79 6f | 75 20 63 61 6e 20 75 73 |ution yo|u can us|
|00004f10| 65 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |e the fo|llowing |
|00004f20| 74 6f 20 63 6f 6e 73 75 | 6c 74 0d 74 68 65 20 66 |to consu|lt.the f|
|00004f30| 69 6c 65 20 27 54 61 6b | 27 20 69 6e 20 74 68 65 |ile 'Tak|' in the|
|00004f40| 20 66 6f 6c 64 65 72 20 | 27 53 61 6d 70 6c 65 73 | folder |'Samples|
|00004f50| 27 20 77 68 69 63 68 20 | 69 73 20 69 6e 20 74 68 |' which |is in th|
|00004f60| 65 20 48 6f 6d 65 20 46 | 6f 6c 64 65 72 3a 0d 0d |e Home F|older:..|
|00004f70| 5b 27 3a 53 61 6d 70 6c | 65 73 3a 54 61 6b 27 5d |[':Sampl|es:Tak']|
|00004f80| 2e 0d 0d 59 6f 75 20 63 | 61 6e 20 61 6c 73 6f 20 |...You c|an also |
|00004f90| 73 70 65 63 69 66 79 20 | 61 20 66 6f 6c 64 65 72 |specify |a folder|
|00004fa0| 20 6f 72 20 66 69 6c 65 | 20 69 6e 20 61 20 73 70 | or file| in a sp|
|00004fb0| 65 63 69 61 6c 20 77 61 | 79 2e 20 50 6c 65 61 73 |ecial wa|y. Pleas|
|00004fc0| 65 20 72 65 66 65 72 20 | 74 6f 20 74 68 65 20 52 |e refer |to the R|
|00004fd0| 65 6c 65 61 73 65 20 4e | 6f 74 65 73 20 66 6f 72 |elease N|otes for|
|00004fe0| 20 31 2e 30 2e 32 20 66 | 6f 72 20 69 6e 66 6f 72 | 1.0.2 f|or infor|
|00004ff0| 6d 61 74 69 6f 6e 20 6f | 6e 20 74 68 69 73 2e 0d |mation o|n this..|
|00005000| 0d d7 20 45 6e 64 20 6f | 66 20 46 69 6c 65 20 26 |.. End o|f File &|
|00005010| 20 45 6e 64 20 6f 66 20 | 4c 69 6e 65 0d 2d 09 45 | End of |Line.-.E|
|00005020| 6e 64 20 6f 66 20 6c 69 | 6e 65 20 26 20 65 6e 64 |nd of li|ne & end|
|00005030| 20 6f 66 20 66 69 6c 65 | 20 74 72 65 61 74 6d 65 | of file| treatme|
|00005040| 6e 74 20 69 73 20 74 68 | 65 20 73 61 6d 65 20 61 |nt is th|e same a|
|00005050| 73 20 69 6e 20 44 45 43 | 20 50 72 6f 6c 6f 67 2e |s in DEC| Prolog.|
|00005060| 0d 2d 09 57 68 65 6e 20 | 72 65 61 64 69 6e 67 20 |.-.When |reading |
|00005070| 66 72 6f 6d 20 61 20 66 | 69 6c 65 2c 20 74 68 65 |from a f|ile, the|
|00005080| 20 6c 61 73 74 20 74 65 | 72 6d 20 69 73 20 61 6c | last te|rm is al|
|00005090| 77 61 79 73 20 27 65 6e | 64 5f 6f 66 5f 66 69 6c |ways 'en|d_of_fil|
|000050a0| 65 27 2e 0d 2d 09 57 68 | 65 6e 20 67 65 74 2d 69 |e'..-.Wh|en get-i|
|000050b0| 6e 67 20 6f 72 20 67 65 | 74 30 2d 69 6e 67 20 66 |ng or ge|t0-ing f|
|000050c0| 72 6f 6d 20 61 20 66 69 | 6c 65 2c 20 74 68 65 20 |rom a fi|le, the |
|000050d0| 6c 61 73 74 20 63 68 61 | 72 61 63 74 65 72 20 69 |last cha|racter i|
|000050e0| 73 20 63 6f 64 65 20 32 | 36 2e 0d 2e 09 43 61 72 |s code 2|6....Car|
|000050f0| 72 69 61 67 65 20 52 65 | 74 75 72 6e 73 20 28 41 |riage Re|turns (A|
|00005100| 53 43 49 49 20 63 6f 64 | 65 20 31 33 29 2c 20 67 |SCII cod|e 13), g|
|00005110| 65 6e 65 72 61 6c 6c 79 | 20 73 69 67 6e 69 66 79 |enerally| signify|
|00005120| 69 6e 67 20 65 6e 64 2d | 6f 66 2d 6c 69 6e 65 20 |ing end-|of-line |
|00005130| 69 6e 20 61 20 66 69 6c | 65 2c 0d 61 72 65 20 66 |in a fil|e,.are f|
|00005140| 69 6c 74 65 72 65 64 20 | 6f 75 74 20 6f 66 20 74 |iltered |out of t|
|00005150| 68 65 20 67 65 74 20 6f | 72 20 67 65 74 30 20 73 |he get o|r get0 s|
|00005160| 74 72 65 61 6d 20 61 6e | 64 20 72 65 70 6c 61 63 |tream an|d replac|
|00005170| 65 64 20 62 79 20 63 6f | 64 65 20 33 31 2e 0d 0d |ed by co|de 31...|
|00005180| 49 6e 70 75 74 20 66 72 | 6f 6d 20 61 20 77 69 6e |Input fr|om a win|
|00005190| 64 6f 77 20 6e 65 76 65 | 72 20 72 65 73 75 6c 74 |dow neve|r result|
|000051a0| 73 20 69 6e 20 61 6e 20 | 65 6e 64 20 6f 66 20 66 |s in an |end of f|
|000051b0| 69 6c 65 20 63 6f 6e 64 | 69 74 69 6f 6e 2e 0d 0d |ile cond|ition...|
|000051c0| d7 20 6e 6c 0d 2d 09 6e | 6c 20 6f 75 74 70 75 74 |. nl.-.n|l output|
|000051d0| 73 20 61 20 43 61 72 72 | 69 61 67 65 20 52 65 74 |s a Carr|iage Ret|
|000051e0| 75 72 6e 20 28 41 53 43 | 49 49 20 63 6f 64 65 20 |urn (ASC|II code |
|000051f0| 31 33 29 2e 0d 0d d7 20 | 67 65 74 20 26 20 67 65 |13).... |get & ge|
|00005200| 74 30 0d 2d 09 67 65 74 | 20 26 20 67 65 74 30 20 |t0.-.get| & get0 |
|00005210| 61 6c 77 61 79 73 20 72 | 65 74 75 72 6e 20 74 68 |always r|eturn th|
|00005220| 65 20 6e 65 78 74 20 63 | 68 61 72 61 63 74 65 72 |e next c|haracter|
|00005230| 2c 20 69 72 72 65 73 70 | 65 63 74 69 76 65 20 6f |, irresp|ective o|
|00005240| 66 20 77 68 65 74 68 65 | 72 20 69 74 20 69 73 0d |f whethe|r it is.|
|00005250| 27 70 72 69 6e 74 61 62 | 6c 65 27 20 6f 72 20 6e |'printab|le' or n|
|00005260| 6f 74 2e 0d 0d d7 20 44 | 65 62 75 67 67 69 6e 67 |ot.... D|ebugging|
|00005270| 0d 54 68 65 20 6d 61 69 | 6e 20 50 72 6f 67 72 61 |.The mai|n Progra|
|00005280| 6d 20 44 65 62 75 67 67 | 69 6e 67 20 66 61 63 69 |m Debugg|ing faci|
|00005290| 6c 69 74 79 20 69 73 20 | 74 68 65 20 74 72 61 63 |lity is |the trac|
|000052a0| 65 2f 31 20 70 72 65 64 | 69 63 61 74 65 2e 0d 59 |e/1 pred|icate..Y|
|000052b0| 6f 75 20 63 61 6e 20 74 | 72 61 63 65 20 74 68 65 |ou can t|race the|
|000052c0| 20 65 78 65 63 75 74 69 | 6f 6e 20 6f 66 20 61 20 | executi|on of a |
|000052d0| 70 72 65 64 69 63 61 74 | 65 20 62 79 20 63 61 6c |predicat|e by cal|
|000052e0| 6c 69 6e 67 20 69 74 20 | 76 69 61 20 74 72 61 63 |ling it |via trac|
|000052f0| 65 3a 0d 0d 25 61 73 73 | 75 6d 69 6e 67 20 79 6f |e:..%ass|uming yo|
|00005300| 75 27 76 65 20 61 6c 72 | 65 61 64 79 20 63 6f 6e |u've alr|eady con|
|00005310| 73 75 6c 74 65 64 20 27 | 74 61 6b 27 20 61 62 6f |sulted '|tak' abo|
|00005320| 76 65 c9 0d 0d 74 72 61 | 63 65 28 74 61 6b 28 31 |ve...tra|ce(tak(1|
|00005330| 32 2c 38 2c 34 2c 4e 29 | 29 2e 0d 0d 54 68 65 20 |2,8,4,N)|)...The |
|00005340| 63 6f 6d 6d 61 6e 64 73 | 20 61 76 61 69 6c 61 62 |commands| availab|
|00005350| 6c 65 20 61 72 65 3a 0d | 3c 45 4e 54 45 52 3e 20 |le are:.|<ENTER> |
|00005360| 2d 20 74 72 61 63 65 0d | 73 3c 45 4e 54 45 52 3e |- trace.|s<ENTER>|
|00005370| 20 2d 20 73 74 65 70 20 | 6f 76 65 72 0d 61 3c 45 | - step |over.a<E|
|00005380| 4e 54 45 52 3e 20 2d 20 | 61 62 6f 72 74 0d 66 3c |NTER> - |abort.f<|
|00005390| 45 4e 54 45 52 3e 20 2d | 20 66 61 69 6c 0d 6c 3c |ENTER> -| fail.l<|
|000053a0| 45 4e 54 45 52 3e 20 2d | 20 6c 65 61 70 2e 20 43 |ENTER> -| leap. C|
|000053b0| 6f 6e 74 69 6e 75 65 20 | 74 72 61 63 69 6e 67 20 |ontinue |tracing |
|000053c0| 73 69 6c 65 6e 74 6c 79 | 20 75 6e 74 69 6c 20 61 |silently| until a|
|000053d0| 20 73 70 79 70 6f 69 6e | 74 20 69 73 20 65 6e 63 | spypoin|t is enc|
|000053e0| 6f 75 6e 74 65 72 65 64 | 2e 0d 40 3c 45 4e 54 45 |ountered|..@<ENTE|
|000053f0| 52 3e 20 2d 20 62 72 65 | 61 6b 20 66 6f 72 20 6f |R> - bre|ak for o|
|00005400| 6e 65 20 63 6f 6d 6d 61 | 6e 64 0d 0d 59 6f 75 20 |ne comma|nd..You |
|00005410| 63 61 6e 20 70 6c 61 63 | 65 20 73 70 79 70 6f 69 |can plac|e spypoi|
|00005420| 6e 74 73 20 28 61 2e 6b | 2e 61 2e 20 62 72 65 61 |nts (a.k|.a. brea|
|00005430| 6b 70 6f 69 6e 74 73 29 | 20 6f 6e 20 6e 61 6d 65 |kpoints)| on name|
|00005440| 64 20 70 72 65 64 69 63 | 61 74 65 73 2e 20 53 70 |d predic|ates. Sp|
|00005450| 79 70 6f 69 6e 74 73 20 | 61 72 65 20 6f 6e 6c 79 |ypoints |are only|
|00005460| 20 65 66 66 65 63 74 69 | 76 65 20 77 68 65 6e 20 | effecti|ve when |
|00005470| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 20 69 73 20 69 |Open Pro|log is i|
|00005480| 6e 20 74 68 65 20 74 72 | 61 63 65 20 6d 6f 64 65 |n the tr|ace mode|
|00005490| 2e 0d 0d 65 2e 67 2e 0d | 0d 73 70 79 28 6d 65 6d |...e.g..|.spy(mem|
|000054a0| 62 65 72 29 2e 0d 0d 77 | 69 6c 6c 20 70 75 74 20 |ber)...w|ill put |
|000054b0| 61 20 73 70 79 70 6f 69 | 6e 74 20 6f 6e 20 61 6c |a spypoi|nt on al|
|000054c0| 6c 20 6f 63 63 75 72 65 | 6e 63 65 73 20 6f 66 20 |l occure|nces of |
|000054d0| 61 20 6d 65 6d 62 65 72 | 20 70 72 65 64 69 63 61 |a member| predica|
|000054e0| 74 65 2e 0d 0d 6e 6f 73 | 70 79 28 61 70 70 65 6e |te...nos|py(appen|
|000054f0| 64 29 2e 0d 0d 77 69 6c | 6c 20 72 65 6d 6f 76 65 |d)...wil|l remove|
|00005500| 20 73 70 79 70 6f 69 6e | 74 73 20 66 72 6f 6d 20 | spypoin|ts from |
|00005510| 61 6c 6c 20 6f 63 63 75 | 72 65 6e 63 65 73 20 6f |all occu|rences o|
|00005520| 66 20 61 70 70 65 6e 64 | 2e 0d 0d 73 70 79 69 6e |f append|...spyin|
|00005530| 67 20 77 69 6c 6c 20 6c | 69 73 74 20 61 6c 6c 20 |g will l|ist all |
|00005540| 73 70 79 70 6f 69 6e 74 | 73 20 69 6e 20 70 6c 61 |spypoint|s in pla|
|00005550| 63 65 2e 0d 0d 54 68 65 | 20 75 6e 6b 6e 6f 77 6e |ce...The| unknown|
|00005560| 2f 32 20 70 72 65 64 69 | 63 61 74 65 20 73 70 65 |/2 predi|cate spe|
|00005570| 63 69 66 69 65 73 20 77 | 68 61 74 20 68 61 70 70 |cifies w|hat happ|
|00005580| 65 6e 73 20 77 68 65 6e | 20 61 20 63 61 6c 6c 20 |ens when| a call |
|00005590| 69 73 20 6d 61 64 65 0d | 74 6f 20 61 6e 20 75 6e |is made.|to an un|
|000055a0| 6b 6e 6f 77 6e 20 70 72 | 65 64 69 63 61 74 65 2e |known pr|edicate.|
|000055b0| 20 28 41 6c 6c 6f 77 61 | 62 6c 65 20 76 61 6c 75 | (Allowa|ble valu|
|000055c0| 65 73 20 61 72 65 20 66 | 61 69 6c 20 6f 72 20 74 |es are f|ail or t|
|000055d0| 72 61 63 65 2e 29 0d 0d | 46 6f 72 20 65 78 61 6d |race.)..|For exam|
|000055e0| 70 6c 65 2c 20 73 65 6c | 65 63 74 3a 0d 0d 75 6e |ple, sel|ect:..un|
|000055f0| 6b 6e 6f 77 6e 28 58 2c | 74 72 61 63 65 29 2e 0d |known(X,|trace)..|
|00005600| 0d 54 68 69 73 20 77 69 | 6c 6c 20 73 65 74 20 4f |.This wi|ll set O|
|00005610| 70 65 6e 20 50 72 6f 6c | 6f 67 20 74 6f 20 65 6e |pen Prol|og to en|
|00005620| 74 65 72 20 74 68 65 20 | 74 72 61 63 65 20 6d 6f |ter the |trace mo|
|00005630| 64 65 20 77 68 65 6e 20 | 61 6e 20 75 6e 6b 6e 6f |de when |an unkno|
|00005640| 77 6e 20 63 61 6c 6c 20 | 69 73 20 6d 61 64 65 2e |wn call |is made.|
|00005650| 0d 0d 54 72 79 20 69 74 | 20 6e 6f 77 20 62 79 20 |..Try it| now by |
|00005660| 73 65 6c 65 63 74 69 6e | 67 3a 0d 0d 68 75 68 28 |selectin|g:..huh(|
|00005670| 57 68 61 74 29 2e 0d 0d | 41 20 64 65 62 75 67 67 |What)...|A debugg|
|00005680| 65 72 20 67 69 76 69 6e | 67 20 61 63 63 65 73 73 |er givin|g access|
|00005690| 20 74 6f 20 74 68 65 20 | 73 6f 75 72 63 65 20 63 | to the |source c|
|000056a0| 6f 64 65 20 69 73 20 75 | 6e 64 65 72 20 64 65 76 |ode is u|nder dev|
|000056b0| 65 6c 6f 70 6d 65 6e 74 | 2e 0d 0d 0d 0d d7 20 45 |elopment|...... E|
|000056c0| 78 74 65 72 6e 61 6c 20 | 50 72 65 64 69 63 61 74 |xternal |Predicat|
|000056d0| 65 73 0d 45 78 74 65 72 | 6e 61 6c 20 70 72 65 64 |es.Exter|nal pred|
|000056e0| 69 63 61 74 65 73 20 61 | 72 65 20 65 78 74 72 61 |icates a|re extra|
|000056f0| 20 70 72 65 64 69 63 61 | 74 65 73 20 77 72 69 74 | predica|tes writ|
|00005700| 74 65 6e 20 73 65 70 61 | 72 61 74 65 6c 79 20 66 |ten sepa|rately f|
|00005710| 72 6f 6d 20 4f 70 65 6e | 20 50 72 6f 6c 6f 67 2c |rom Open| Prolog,|
|00005720| 20 61 6e 64 20 0d 74 68 | 65 6e 20 27 64 72 6f 70 | and .th|en 'drop|
|00005730| 70 65 64 27 20 69 6e 74 | 6f 20 4f 70 65 6e 20 50 |ped' int|o Open P|
|00005740| 72 6f 6c 6f 67 20 75 73 | 69 6e 67 20 73 6f 6d 65 |rolog us|ing some|
|00005750| 74 68 69 6e 67 20 6c 69 | 6b 65 20 52 65 73 45 64 |thing li|ke ResEd|
|00005760| 69 74 2e 20 41 74 20 70 | 72 65 73 65 6e 74 2c 20 |it. At p|resent, |
|00005770| 61 6e 0d 4d 50 57 20 50 | 61 73 63 61 6c 20 69 6e |an.MPW P|ascal in|
|00005780| 74 65 72 66 61 63 65 20 | 69 73 20 64 65 66 69 6e |terface |is defin|
|00005790| 65 64 2e 20 49 74 27 73 | 20 70 6f 73 73 69 62 6c |ed. It's| possibl|
|000057a0| 65 20 74 6f 20 75 73 65 | 20 53 41 44 45 20 74 6f |e to use| SADE to|
|000057b0| 20 64 65 62 75 67 20 65 | 78 74 65 72 6e 61 6c 20 | debug e|xternal |
|000057c0| 70 72 65 64 69 63 61 74 | 65 73 20 74 68 61 74 20 |predicat|es that |
|000057d0| 68 61 76 65 20 62 65 65 | 6e 20 77 72 69 74 74 65 |have bee|n writte|
|000057e0| 6e 20 75 73 69 6e 67 20 | 4d 50 57 2e 0d 41 20 54 |n using |MPW..A T|
|000057f0| 48 49 4e 4b 20 43 20 69 | 6e 74 65 72 66 61 63 65 |HINK C i|nterface|
|00005800| 20 69 73 20 62 65 69 6e | 67 20 64 65 76 65 6c 6f | is bein|g develo|
|00005810| 70 65 64 20 62 79 20 61 | 20 6e 75 6d 62 65 72 20 |ped by a| number |
|00005820| 6f 66 20 75 73 65 72 73 | 20 2d 20 66 6f 72 20 6e |of users| - for n|
|00005830| 6f 77 2c 20 70 6c 65 61 | 73 65 20 63 6f 6e 74 61 |ow, plea|se conta|
|00005840| 63 74 20 6d 65 20 66 6f | 72 20 64 65 74 61 69 6c |ct me fo|r detail|
|00005850| 73 20 61 74 20 62 72 61 | 64 79 40 63 73 2e 74 63 |s at bra|dy@cs.tc|
|00005860| 64 2e 69 65 2e 0d 0d 54 | 6f 20 67 65 74 20 61 20 |d.ie...T|o get a |
|00005870| 6c 69 73 74 20 6f 66 20 | 65 78 74 65 72 6e 61 6c |list of |external|
|00005880| 20 70 72 65 64 69 63 61 | 74 65 73 20 61 76 61 69 | predica|tes avai|
|00005890| 6c 61 62 6c 65 20 69 6e | 20 74 68 69 73 20 76 65 |lable in| this ve|
|000058a0| 72 73 69 6f 6e 20 6f 66 | 20 4f 70 65 6e 20 50 72 |rsion of| Open Pr|
|000058b0| 6f 6c 6f 67 2c 20 65 78 | 65 63 75 74 65 20 74 68 |olog, ex|ecute th|
|000058c0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 63 6f 6d 6d |e follow|ing comm|
|000058d0| 61 6e 64 3a 0d 0d 27 73 | 79 73 74 65 6d 24 70 72 |and:..'s|ystem$pr|
|000058e0| 65 64 69 63 61 74 65 27 | 28 58 2c 59 2c 65 78 74 |edicate'|(X,Y,ext|
|000058f0| 65 72 6e 61 6c 29 2c 66 | 75 6e 63 74 6f 72 28 59 |ernal),f|unctor(Y|
|00005900| 2c 58 2c 41 29 2c 77 72 | 69 74 65 71 28 58 29 2c |,X,A),wr|iteq(X),|
|00005910| 77 72 69 74 65 28 27 2f | 27 29 2c 77 72 69 74 65 |write('/|'),write|
|00005920| 28 41 29 2c 77 72 69 74 | 65 28 2e 29 2c 6e 6c 2c |(A),writ|e(.),nl,|
|00005930| 66 61 69 6c 2e 0d 0d 4d | 6f 72 65 20 69 6e 66 6f |fail...M|ore info|
|00005940| 72 6d 61 74 69 6f 6e 20 | 6f 6e 20 62 75 69 6c 64 |rmation |on build|
|00005950| 69 6e 67 20 45 78 74 65 | 72 6e 61 6c 20 50 72 65 |ing Exte|rnal Pre|
|00005960| 64 69 63 61 74 65 73 2c | 20 69 6e 63 6c 75 64 69 |dicates,| includi|
|00005970| 6e 67 20 61 20 66 65 77 | 20 65 78 61 6d 70 65 73 |ng a few| exampes|
|00005980| 2c 20 69 73 20 61 76 61 | 69 6c 61 62 6c 65 20 69 |, is ava|ilable i|
|00005990| 6e 20 74 68 65 20 66 6f | 6c 64 65 72 20 27 45 78 |n the fo|lder 'Ex|
|000059a0| 74 65 72 6e 61 6c 20 50 | 72 65 64 69 63 61 74 65 |ternal P|redicate|
|000059b0| 73 c9 27 2e 20 0d 0d 0d | d7 20 53 79 73 74 65 6d |s.'. ...|. System|
|000059c0| 20 45 72 72 6f 72 20 4d | 65 73 73 61 67 65 73 3a | Error M|essages:|
|000059d0| 0d 54 68 65 72 65 20 61 | 72 65 20 74 68 72 65 65 |.There a|re three|
|000059e0| 20 6b 69 6e 64 73 20 6f | 66 20 65 72 72 6f 72 20 | kinds o|f error |
|000059f0| 6d 65 73 73 61 67 65 73 | 3a 0d 41 2e 20 41 20 73 |messages|:.A. A s|
|00005a00| 69 6d 70 6c 65 20 69 6e | 66 6f 72 6d 61 74 69 6f |imple in|formatio|
|00005a10| 6e 20 62 6f 78 20 77 69 | 74 68 20 27 4f 4b 27 20 |n box wi|th 'OK' |
|00005a20| 61 73 20 74 68 65 20 6f | 6e 6c 79 20 6f 70 74 69 |as the o|nly opti|
|00005a30| 6f 6e 2e 0d 42 2e 20 41 | 20 27 44 69 61 67 6e 6f |on..B. A| 'Diagno|
|00005a40| 73 74 69 63 27 20 6f 72 | 20 27 42 72 65 61 6b 70 |stic' or| 'Breakp|
|00005a50| 6f 69 6e 74 65 72 27 20 | 69 6e 66 6f 72 6d 61 74 |ointer' |informat|
|00005a60| 69 6f 6e 20 62 6f 78 2e | 0d 54 68 69 73 20 69 73 |ion box.|.This is|
|00005a70| 20 69 6e 74 65 6e 64 65 | 64 20 66 6f 72 20 67 69 | intende|d for gi|
|00005a80| 76 69 6e 67 20 64 65 62 | 75 67 67 69 6e 67 20 69 |ving deb|ugging i|
|00005a90| 6e 66 6f 72 6d 61 74 69 | 6f 6e 2c 20 61 6e 64 20 |nformati|on, and |
|00005aa0| 69 66 20 69 74 20 74 75 | 72 6e 73 20 75 70 0d 69 |if it tu|rns up.i|
|00005ab0| 6e 20 6e 6f 72 6d 61 6c | 20 6f 70 65 72 61 74 69 |n normal| operati|
|00005ac0| 6f 6e 20 69 74 20 6d 65 | 61 6e 73 20 74 68 61 74 |on it me|ans that|
|00005ad0| 20 61 20 73 70 65 63 69 | 61 6c 20 63 6f 6e 64 69 | a speci|al condi|
|00005ae0| 74 69 6f 6e 20 68 61 73 | 20 6f 63 63 75 72 65 64 |tion has| occured|
|00005af0| 2e 20 0d 43 2e 20 57 68 | 65 6e 65 76 65 72 20 4f |. .C. Wh|enever O|
|00005b00| 70 65 6e 20 50 72 6f 6c | 6f 67 20 64 65 74 65 63 |pen Prol|og detec|
|00005b10| 74 73 20 61 20 73 79 73 | 74 65 6d 20 65 72 72 6f |ts a sys|tem erro|
|00005b20| 72 2c 20 69 74 20 77 69 | 6c 6c 20 77 61 72 6e 20 |r, it wi|ll warn |
|00005b30| 79 6f 75 20 61 62 6f 75 | 74 20 69 74 2e 0d 59 6f |you abou|t it..Yo|
|00005b40| 75 20 61 72 65 20 67 65 | 6e 65 72 61 6c 6c 79 20 |u are ge|nerally |
|00005b50| 67 69 76 65 6e 20 73 6f | 6d 65 20 69 6e 66 6f 72 |given so|me infor|
|00005b60| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 74 68 65 |mation a|bout the|
|00005b70| 20 73 6f 75 72 63 65 20 | 61 6e 64 20 6b 69 6e 64 | source |and kind|
|00005b80| 20 6f 66 20 74 68 65 0d | 65 72 72 6f 72 2e 20 4e | of the.|error. N|
|00005b90| 61 74 75 72 61 6c 6c 79 | 2c 20 69 74 20 69 73 6e |aturally|, it isn|
|00005ba0| 27 74 20 61 6c 77 61 79 | 73 20 70 6f 73 73 69 62 |'t alway|s possib|
|00005bb0| 6c 65 20 74 6f 20 70 72 | 65 64 69 63 74 20 77 68 |le to pr|edict wh|
|00005bc0| 61 74 20 77 69 6c 6c 20 | 68 61 70 70 65 6e 0d 69 |at will |happen.i|
|00005bd0| 66 20 79 6f 75 20 63 6f | 6e 74 69 6e 75 65 20 6f |f you co|ntinue o|
|00005be0| 70 65 72 61 74 69 6e 67 | 20 74 68 65 20 73 79 73 |perating| the sys|
|00005bf0| 74 65 6d 2e 0d 0d 53 75 | 6d 6d 61 72 69 73 69 6e |tem...Su|mmarisin|
|00005c00| 67 3a 20 57 68 65 6e 20 | 79 6f 75 20 67 65 74 20 |g: When |you get |
|00005c10| 61 6e 20 65 72 72 6f 72 | 20 6d 65 73 73 61 67 65 |an error| message|
|00005c20| 2c 0d 69 66 20 79 6f 75 | 20 61 72 65 20 67 69 76 |,.if you| are giv|
|00005c30| 65 6e 20 61 20 63 68 6f | 69 63 65 2c 20 69 74 27 |en a cho|ice, it'|
|00005c40| 73 20 62 65 73 74 20 28 | 69 6e 69 74 69 61 6c 6c |s best (|initiall|
|00005c50| 79 29 20 74 6f 20 65 78 | 69 74 2e 0d 59 6f 75 20 |y) to ex|it..You |
|00005c60| 6e 6f 72 6d 61 6c 6c 79 | 20 67 65 74 20 74 6f 20 |normally| get to |
|00005c70| 73 61 76 65 20 79 6f 75 | 72 20 66 69 6c 65 73 20 |save you|r files |
|00005c80| 61 6e 64 20 77 69 6e 64 | 6f 77 73 2c 20 61 6c 74 |and wind|ows, alt|
|00005c90| 68 6f 75 67 68 20 73 6f | 6d 65 74 69 6d 65 73 0d |hough so|metimes.|
|00005ca0| 74 68 65 20 6e 61 74 75 | 72 65 20 6f 66 20 74 68 |the natu|re of th|
|00005cb0| 65 20 65 72 72 6f 72 20 | 63 61 75 73 65 73 20 6d |e error |causes m|
|00005cc0| 6f 72 65 20 65 72 72 6f | 72 73 20 74 6f 20 62 65 |ore erro|rs to be|
|00005cd0| 20 6d 61 64 65 20 61 73 | 20 74 68 65 20 66 69 6c | made as| the fil|
|00005ce0| 65 73 20 26 0d 77 69 6e | 64 6f 77 73 20 61 72 65 |es &.win|dows are|
|00005cf0| 20 62 65 69 6e 67 20 73 | 61 76 65 64 2e 20 49 74 | being s|aved. It|
|00005d00| 20 74 68 61 74 20 68 61 | 70 70 65 6e 73 2c 20 79 | that ha|ppens, y|
|00005d10| 6f 75 20 6c 6f 73 65 20 | 79 6f 75 72 20 66 69 c9 |ou lose |your fi.|
|00005d20| 0d 45 78 70 65 72 69 65 | 6e 63 65 20 77 69 6c 6c |.Experie|nce will|
|00005d30| 20 74 65 6c 6c 20 77 68 | 61 74 27 73 20 62 65 73 | tell wh|at's bes|
|00005d40| 74 20 74 6f 20 64 6f 20 | 69 6e 20 61 20 73 69 74 |t to do |in a sit|
|00005d50| 75 61 74 69 6f 6e 2e 0d | 28 49 20 73 75 72 65 20 |uation..|(I sure |
|00005d60| 68 6f 70 65 20 79 6f 75 | 20 64 6f 6e 27 74 20 67 |hope you| don't g|
|00005d70| 65 74 20 61 20 6c 6f 74 | 20 6f 66 20 74 68 61 74 |et a lot| of that|
|00005d80| 20 65 78 70 65 72 69 65 | 6e 63 65 c9 29 0d 0d 49 | experie|nce.)..I|
|00005d90| 27 64 20 61 70 70 72 65 | 63 69 61 74 65 20 79 6f |'d appre|ciate yo|
|00005da0| 75 20 6d 61 69 6c 69 6e | 67 20 6d 65 20 77 69 74 |u mailin|g me wit|
|00005db0| 68 20 74 68 65 20 63 69 | 72 63 75 6d 73 74 61 6e |h the ci|rcumstan|
|00005dc0| 63 65 73 20 61 6e 64 20 | 6e 61 74 75 72 65 20 6f |ces and |nature o|
|00005dd0| 66 0d 42 20 26 20 43 20 | 74 79 70 65 20 6d 65 73 |f.B & C |type mes|
|00005de0| 73 61 67 65 73 2c 20 61 | 6e 64 20 6f 66 20 75 6e |sages, a|nd of un|
|00005df0| 64 65 73 69 72 61 62 6c | 65 20 65 66 66 65 63 74 |desirabl|e effect|
|00005e00| 73 20 6f 66 20 41 20 74 | 79 70 65 20 6d 65 73 73 |s of A t|ype mess|
|00005e10| 61 67 65 73 2e 0d 0d d7 | 20 50 72 6f 62 6c 65 6d |ages....| Problem|
|00005e20| 73 20 77 69 74 68 20 4f | 70 65 6e 20 50 72 6f 6c |s with O|pen Prol|
|00005e30| 6f 67 0d 48 65 72 65 20 | 61 72 65 20 74 68 65 20 |og.Here |are the |
|00005e40| 6b 6e 6f 77 6e 20 73 69 | 67 6e 69 66 69 63 61 6e |known si|gnifican|
|00005e50| 74 20 64 69 66 66 69 63 | 75 6c 74 69 65 73 20 77 |t diffic|ulties w|
|00005e60| 69 74 68 20 4f 70 65 6e | 20 50 72 6f 6c 6f 67 20 |ith Open| Prolog |
|00005e70| 61 74 20 74 68 65 20 6d | 6f 6d 65 6e 74 2e 0d 54 |at the m|oment..T|
|00005e80| 68 65 72 65 20 61 72 65 | 20 73 69 6d 70 6c 65 20 |here are| simple |
|00005e90| 77 6f 72 6b 61 72 6f 75 | 6e 64 73 20 66 6f 72 20 |workarou|nds for |
|00005ea0| 74 68 65 6d 20 61 6c 6c | 2e 0d 0d 31 2e 20 54 68 |them all|...1. Th|
|00005eb0| 65 20 61 62 73 6f 6c 75 | 74 65 20 6d 61 78 69 6d |e absolu|te maxim|
|00005ec0| 75 6d 20 73 69 7a 65 20 | 6f 66 20 61 6e 79 20 66 |um size |of any f|
|00005ed0| 69 6c 65 20 74 68 61 74 | 20 63 61 6e 20 62 65 20 |ile that| can be |
|00005ee0| 73 65 65 6e 20 69 6e 20 | 61 6e 20 4f 70 65 6e 20 |seen in |an Open |
|00005ef0| 50 72 6f 6c 6f 67 0d 77 | 69 6e 64 6f 77 20 69 73 |Prolog.w|indow is|
|00005f00| 20 6c 69 6d 69 74 65 64 | 20 74 6f 20 33 32 37 36 | limited| to 3276|
|00005f10| 37 20 63 68 61 72 61 63 | 74 65 72 73 2e 0d 54 68 |7 charac|ters..Th|
|00005f20| 69 73 20 6c 69 6d 69 74 | 20 6f 6e 6c 79 20 61 70 |is limit| only ap|
|00005f30| 70 6c 69 65 73 20 74 6f | 20 66 69 6c 65 73 20 74 |plies to| files t|
|00005f40| 68 61 74 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |hat you |want to |
|00005f50| 6f 70 65 6e 20 61 73 20 | 77 69 6e 64 6f 77 73 2e |open as |windows.|
|00005f60| 0d 53 6f 2c 20 66 6f 72 | 20 65 78 61 6d 70 6c 65 |.So, for| example|
|00005f70| 2c 20 69 66 20 79 6f 75 | 72 20 70 72 6f 67 72 61 |, if you|r progra|
|00005f80| 6d 20 70 72 6f 64 75 63 | 65 73 20 6c 61 72 67 65 |m produc|es large|
|00005f90| 20 6f 75 74 70 75 74 20 | 66 69 6c 65 73 2c 20 74 | output |files, t|
|00005fa0| 68 61 74 27 73 20 4f 4b | 20 61 73 0d 6c 6f 6e 67 |hat's OK| as.long|
|00005fb0| 20 61 73 20 79 6f 75 20 | 64 6f 6e 27 74 20 77 61 | as you |don't wa|
|00005fc0| 6e 74 20 74 6f 20 6f 70 | 65 6e 20 74 68 65 6d 20 |nt to op|en them |
|00005fd0| 61 73 20 77 69 6e 64 6f | 77 73 20 66 72 6f 6d 20 |as windo|ws from |
|00005fe0| 4f 70 65 6e 20 50 72 6f | 6c 6f 67 2e 0d 57 6f 72 |Open Pro|log..Wor|
|00005ff0| 6b 61 72 6f 75 6e 64 73 | 3a 0d 20 42 72 65 61 6b |karounds|:. Break|
|00006000| 20 79 6f 75 72 20 66 69 | 6c 65 73 20 69 6e 74 6f | your fi|les into|
|00006010| 20 73 6d 61 6c 6c 65 72 | 20 66 69 6c 65 73 2e 0d | smaller| files..|
|00006020| 20 54 72 69 6d 20 74 68 | 65 20 57 6f 72 6b 73 68 | Trim th|e Worksh|
|00006030| 65 65 74 20 70 65 72 69 | 6f 64 69 63 61 6c 6c 79 |eet peri|odically|
|00006040| 20 73 6f 20 74 68 61 74 | 20 69 73 20 64 6f 65 73 | so that| is does|
|00006050| 6e 27 74 20 67 65 74 20 | 74 6f 6f 20 62 69 67 2e |n't get |too big.|
|00006060| 0d 20 54 6f 20 76 69 65 | 77 20 61 6e 64 20 70 72 |. To vie|w and pr|
|00006070| 6f 63 65 73 73 20 6c 61 | 72 67 65 72 20 74 65 78 |ocess la|rger tex|
|00006080| 74 20 66 69 6c 65 73 2c | 20 79 6f 75 27 6c 6c 20 |t files,| you'll |
|00006090| 6e 65 65 64 20 74 6f 20 | 75 73 65 20 61 20 74 65 |need to |use a te|
|000060a0| 78 74 20 70 72 6f 63 65 | 73 73 6f 72 0d 28 4d 50 |xt proce|ssor.(MP|
|000060b0| 57 20 68 69 67 68 6c 79 | 20 72 65 63 6f 6d 6d 65 |W highly| recomme|
|000060c0| 6e 64 65 64 29 20 6f 72 | 20 77 6f 72 64 20 70 72 |nded) or| word pr|
|000060d0| 6f 63 65 73 73 6f 72 20 | 69 6e 20 74 65 78 74 20 |ocessor |in text |
|000060e0| 6d 6f 64 65 2e 0d 4f 70 | 65 6e 20 50 72 6f 6c 6f |mode..Op|en Prolo|
|000060f0| 67 20 74 72 69 65 73 20 | 74 6f 20 77 61 72 6e 20 |g tries |to warn |
|00006100| 79 6f 75 20 61 62 6f 75 | 74 20 77 69 6e 64 6f 77 |you abou|t window|
|00006110| 20 63 6f 6e 74 65 6e 74 | 73 20 65 78 63 65 65 64 | content|s exceed|
|00006120| 69 6e 67 20 33 32 37 36 | 37 0d 63 68 61 72 61 63 |ing 3276|7.charac|
|00006130| 74 65 72 73 2e 20 50 6c | 65 61 73 65 20 64 6f 6e |ters. Pl|ease don|
|00006140| 27 74 20 72 65 6c 79 20 | 6f 6e 20 69 74 20 74 6f |'t rely |on it to|
|00006150| 6f 20 6d 75 63 68 20 2d | 20 77 68 65 6e 20 69 74 |o much -| when it|
|00006160| 20 77 61 72 6e 73 20 79 | 6f 75 2c 0d 69 74 27 73 | warns y|ou,.it's|
|00006170| 20 6f 66 74 65 6e 20 74 | 6f 6f 20 6c 61 74 65 20 | often t|oo late |
|00006180| 74 6f 20 64 6f 20 61 6e | 79 74 68 69 6e 67 20 61 |to do an|ything a|
|00006190| 62 6f 75 74 20 69 74 2e | 0d 0d 32 2e 20 54 61 62 |bout it.|..2. Tab|
|000061a0| 20 63 68 61 72 61 63 74 | 65 72 73 20 61 72 65 20 | charact|ers are |
|000061b0| 6e 6f 74 20 70 72 6f 70 | 65 72 6c 79 20 72 65 70 |not prop|erly rep|
|000061c0| 72 65 73 65 6e 74 65 64 | 20 6f 72 20 70 72 69 6e |resented| or prin|
|000061d0| 74 65 64 20 2d 20 69 6e | 73 74 65 61 64 20 61 20 |ted - in|stead a |
|000061e0| 74 61 62 0d 61 6c 77 61 | 79 73 20 6f 63 63 75 70 |tab.alwa|ys occup|
|000061f0| 69 65 73 20 65 78 61 63 | 74 6c 79 20 6f 6e 65 20 |ies exac|tly one |
|00006200| 73 70 61 63 65 2e 20 49 | 66 20 79 6f 75 20 69 6e |space. I|f you in|
|00006210| 74 65 6e 64 20 75 73 69 | 6e 67 20 79 6f 75 72 20 |tend usi|ng your |
|00006220| 66 69 6c 65 73 20 77 69 | 74 68 0d 61 6e 6f 74 68 |files wi|th.anoth|
|00006230| 65 72 20 74 65 78 74 2f | 77 6f 72 64 20 70 72 6f |er text/|word pro|
|00006240| 63 65 73 73 6f 72 2c 20 | 74 68 65 6e 20 79 6f 75 |cessor, |then you|
|00006250| 20 73 68 6f 75 6c 64 20 | 70 75 74 20 74 68 65 6d | should |put them|
|00006260| 20 69 6e c9 00 00 00 00 | 00 00 00 00 00 00 00 00 | in.....|........|
|00006270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00006280| 00 00 01 00 00 00 01 30 | 00 00 00 30 00 00 00 32 |.......0|...0...2|
|00006290| 20 20 43 41 53 45 20 69 | 64 20 4f 46 0d 20 20 20 | CASE i|d OF. |
|000062a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 31 3a 20 | | 1: |
|000062b0| 10 4f 70 65 6e 20 50 72 | 6f 6c 6f 67 20 49 6e 66 |.Open Pr|olog Inf|
|000062c0| 6f 67 02 00 00 00 50 61 | 72 74 53 49 54 21 00 00 |og....Pa|rtSIT!..|
|000062d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000062e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000062f0| 00 00 a9 c7 3a 29 00 00 | 00 00 00 00 01 62 20 72 |....:)..|.....b r|
|00006300| 61 6e 67 65 20 61 74 20 | 63 6c 6f 73 65 27 2c 20 |ange at |close', |
|00006310| 70 6c 69 73 74 29 3b 0d | 20 20 20 20 20 20 20 20 |plist);.| |
|00006320| 20 20 20 20 20 20 45 4e | 44 3b 0d 20 20 20 20 20 | EN|D;. |
|00006330| 20 20 20 20 20 20 20 20 | 20 45 4e 44 3b 0d 20 20 | | END;. |
|00006340| 20 20 20 20 20 20 20 20 | 20 20 4f 54 48 45 52 57 | | OTHERW|
|00006350| 49 53 45 20 65 72 72 6f | 72 73 74 72 28 27 75 6e |ISE erro|rstr('un|
|00006360| 6b 6e 6f 77 6e 20 63 61 | 6c 6c 20 74 6f 20 65 78 |known ca|ll to ex|
|00006370| 74 65 72 6e 61 6c 20 70 | 72 6f 63 65 64 75 72 65 |ternal p|rocedure|
|00006380| 00 00 00 2c 01 02 80 08 | 00 00 05 31 2e 30 2e 32 |...,....|...1.0.2|
|00006390| 1f 44 6f 63 75 6d 65 6e | 74 73 20 66 6f 72 20 4f |.Documen|ts for O|
|000063a0| 70 65 6e 20 50 72 6f 6c | 6f 67 20 31 2e 30 2e 32 |pen Prol|og 1.0.2|
|000063b0| 00 00 01 00 00 00 01 30 | 00 00 00 30 00 00 00 32 |.......0|...0...2|
|000063c0| 00 46 73 f8 19 b6 00 00 | 00 1c 00 32 00 00 76 65 |.Fs.....|...2..ve|
|000063d0| 72 73 00 00 00 0a 00 01 | ff ff 00 00 00 00 00 46 |rs......|.......F|
|000063e0| 73 8c 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.......|........|
|000063f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+